Class MigrationExpressionBase
The base class for migration expressions
Inheritance
MigrationExpressionBase
Inherited Members
Namespace: FluentMigrator.Expressions
Assembly: FluentMigrator.Abstractions.dll
Syntax
public abstract class MigrationExpressionBase : IMigrationExpression, ICanBeValidated
Methods
| Edit this page View SourceCollectValidationErrors(ICollection<string>)
Collect validation errors
Declaration
[Obsolete("Use the System.ComponentModel.DataAnnotations.Validator instead")]
public virtual void CollectValidationErrors(ICollection<string> errors)
Parameters
Type | Name | Description |
---|---|---|
ICollection<string> | errors | The collection of error messages |
ExecuteWith(IMigrationProcessor)
Execute the expression with the given processor
Declaration
public abstract void ExecuteWith(IMigrationProcessor processor)
Parameters
Type | Name | Description |
---|---|---|
IMigrationProcessor | processor | The processor to execute the expression with |
Reverse()
Create a reversing migration expression
Declaration
public virtual IMigrationExpression Reverse()
Returns
Type | Description |
---|---|
IMigrationExpression | The reversing migration expression |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |