View Source
Class CreateConstraintBuilder
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CreateConstraintBuilder : ExpressionBuilderBase<CreateConstraintExpression>, ICreateConstraintOnTableBuilder, ICreateConstraintColumnsBuilder, IFluentBuilder
Constructors
View Source
CreateConstraintBuilder(CreateConstraintExpression)
Declaration
public CreateConstraintBuilder(CreateConstraintExpression expression)
Parameters
Methods
View Source
Column(String)
Specifies the constraint column.
Declaration
public IExecutableBuilder Column(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
View Source
Columns(String[])
Specifies the constraint columns.
Declaration
public IExecutableBuilder Columns(string[] columnNames)
Parameters
Type |
Name |
Description |
System.String[] |
columnNames |
|
Returns
View Source
OnTable(String)
Specifies the table name.
Declaration
public ICreateConstraintColumnsBuilder OnTable(string tableName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
Returns