Search Results for

    Show / Hide Table of Contents

    Class CreateIndexExpression

    Expression to create an index

    Inheritance
    object
    MigrationExpressionBase
    CreateIndexExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    ISupportAdditionalFeatures
    IIndexExpression
    IValidationChildren
    Inherited Members
    MigrationExpressionBase.CollectValidationErrors(ICollection<string>)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Expressions
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public class CreateIndexExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, ISupportAdditionalFeatures, IIndexExpression, IValidationChildren

    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
    Type Description
    IDictionary<string, object>
    | Edit this page View Source

    Index

    Gets the index definition

    Declaration
    public virtual IndexDefinition Index { get; set; }
    Property Value
    Type Description
    IndexDefinition

    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
    MigrationExpressionBase.ExecuteWith(IMigrationProcessor)
    | Edit this page View Source

    Reverse()

    Create a reversing migration expression

    Declaration
    public override IMigrationExpression Reverse()
    Returns
    Type Description
    IMigrationExpression

    The reversing migration expression

    Overrides
    MigrationExpressionBase.Reverse()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    MigrationExpressionBase.ToString()

    Implements

    IMigrationExpression
    ICanBeValidated
    ISupportAdditionalFeatures
    IIndexExpression
    IValidationChildren

    Extension Methods

    LegacyValidationExtensions.CollectErrors(ICanBeValidated, ICollection<string>, IServiceProvider)
    LegacyValidationExtensions.TryCollectResults(ICanBeValidated, ICollection<ValidationResult>, IServiceProvider, IDictionary<object, object>)
    AdditionalFeaturesExtensions.GetAdditionalFeature<T>(ISupportAdditionalFeatures, string, Func<T>)
    AdditionalFeaturesExtensions.GetAdditionalFeature<T>(ISupportAdditionalFeatures, string, T)
    AdditionalFeaturesExtensions.SetAdditionalFeature<T>(ISupportAdditionalFeatures, string, T)
    PostgresExtensions.Using(ISupportAdditionalFeatures, Algorithm)
    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.