View Source
Class DeleteDefaultConstraintBuilder
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DeleteDefaultConstraintBuilder : ExpressionBuilderBase<DeleteDefaultConstraintExpression>, IDeleteDefaultConstraintOnTableBuilder, IDeleteDefaultConstraintOnColumnBuilder, IFluentBuilder
Constructors
View Source
DeleteDefaultConstraintBuilder(IMigrationContext, DeleteDefaultConstraintExpression)
Declaration
public DeleteDefaultConstraintBuilder(IMigrationContext context, DeleteDefaultConstraintExpression expression)
Parameters
Methods
View Source
OnColumn(String)
Specifies the column of the constraint to delete.
Declaration
public IExecutableBuilder OnColumn(string columnName)
Parameters
Type |
Name |
Description |
System.String |
columnName |
|
Returns
View Source
OnTable(String)
Specifies the table of the constraint to delete.
Declaration
public IDeleteDefaultConstraintOnColumnBuilder OnTable(string tableName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
Returns