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 SourceForeignColumn(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 |
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 |