Search Results for

    Show / Hide Table of Contents

    Interface ICreateForeignKeyPrimaryColumnSyntax

    Define the primary table columns for a foreign key

    Namespace: FluentMigrator.Builders.Create.ForeignKey
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface ICreateForeignKeyPrimaryColumnSyntax

    Methods

    | Edit this page View Source

    PrimaryColumn(string)

    Define the primary table column for a foreign key

    Declaration
    ICreateForeignKeyCascadeSyntax PrimaryColumn(string column)
    Parameters
    Type Name Description
    string column

    The column name

    Returns
    Type Description
    ICreateForeignKeyCascadeSyntax

    Define the cascade rules

    | Edit this page View Source

    PrimaryColumns(params string[])

    Define the primary table columns for a foreign key

    Declaration
    ICreateForeignKeyCascadeSyntax PrimaryColumns(params string[] columns)
    Parameters
    Type Name Description
    string[] columns

    The column names

    Returns
    Type Description
    ICreateForeignKeyCascadeSyntax

    Define the cascade rules

    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.