Class CreateIndexExpression
Expression to create an index
Implements
Inherited Members
Namespace: FluentMigrator.Expressions
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class CreateIndexExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, ISupportAdditionalFeatures, IIndexExpression, IValidationChildren
Properties
| Edit this page View SourceAdditionalFeatures
Gets the dictionary to store the values for additional features
Declaration
public IDictionary<string, object> AdditionalFeatures { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Index
Gets the index definition
Declaration
public virtual IndexDefinition Index { get; set; }
Property Value
Type | Description |
---|---|
IndexDefinition |
Methods
| Edit this page View SourceExecuteWith(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 SourceReverse()
Create a reversing migration expression
Declaration
public override IMigrationExpression Reverse()
Returns
Type | Description |
---|---|
IMigrationExpression | The reversing migration expression |
Overrides
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |