Search Results for

    Show / Hide Table of Contents

    Interface ICreateForeignKeyForeignColumnSyntax

    Interface to define the foreign key columns

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

    Methods

    | Edit this page View Source

    ForeignColumn(string)

    Define the foreign key column

    Declaration
    ICreateForeignKeyToTableSyntax ForeignColumn(string column)
    Parameters
    Type Name Description
    string column

    The column name

    Returns
    Type Description
    ICreateForeignKeyToTableSyntax

    Define the foreign keys primary table

    | Edit this page View Source

    ForeignColumns(params string[])

    Define the foreign key columns

    Declaration
    ICreateForeignKeyToTableSyntax ForeignColumns(params string[] columns)
    Parameters
    Type Name Description
    string[] columns

    The column names

    Returns
    Type Description
    ICreateForeignKeyToTableSyntax

    Define the foreign keys primary table

    • 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.