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