Class DeleteConstraintExpression
Expression to delete a constraint
Inheritance
DeleteConstraintExpression
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class DeleteConstraintExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, ISupportAdditionalFeatures, IConstraintExpression, IValidatableObject
Constructors
|
Edit this page
View Source
DeleteConstraintExpression(ConstraintType)
Declaration
public DeleteConstraintExpression(ConstraintType type)
Parameters
Properties
|
Edit this page
View Source
AdditionalFeatures
Gets the dictionary to store the values for additional features
Declaration
public IDictionary<string, object> AdditionalFeatures { get; }
Property Value
|
Edit this page
View Source
Constraint
Gets or sets the constraint definition
Declaration
public ConstraintDefinition Constraint { get; set; }
Property Value
Methods
|
Edit this page
View Source
ExecuteWith(IMigrationProcessor)
Execute the expression with the given processor
Declaration
public override void ExecuteWith(IMigrationProcessor processor)
Parameters
Type |
Name |
Description |
IMigrationProcessor |
processor |
The processor to execute the expression with
|
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
Validate(ValidationContext)
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Returns
Implements
Extension Methods