Interface ICreateConstraintColumnsSyntax
Define the columns of a constraint
Namespace: FluentMigrator.Builders.Create.Constraint
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface ICreateConstraintColumnsSyntax
Methods
| Edit this page View SourceColumn(string)
The column for the constraint
Declaration
ICreateConstraintOptionsSyntax Column(string columnName)
Parameters
Type | Name | Description |
---|---|---|
string | columnName | The column name |
Returns
Type | Description |
---|---|
ICreateConstraintOptionsSyntax | Other constraint options |
Columns(params string[])
The columns for the constraint
Declaration
ICreateConstraintOptionsSyntax Columns(params string[] columnNames)
Parameters
Type | Name | Description |
---|---|---|
string[] | columnNames | The column names |
Returns
Type | Description |
---|---|
ICreateConstraintOptionsSyntax | Other constraint options |