Search Results for

    Show / Hide Table of Contents

    Class MigrationExpressionBase

    The base class for migration expressions

    Inheritance
    object
    MigrationExpressionBase
    AlterColumnExpression
    AlterColumnExpression
    AlterDefaultConstraintExpression
    AlterDefaultConstraintExpression
    AlterSchemaExpression
    AlterSchemaExpression
    AlterTableExpression
    AlterTableExpression
    CreateColumnExpression
    CreateColumnExpression
    CreateConstraintExpression
    CreateConstraintExpression
    CreateForeignKeyExpression
    CreateForeignKeyExpression
    CreateIndexExpression
    CreateIndexExpression
    CreateSchemaExpression
    CreateSchemaExpression
    CreateSequenceExpression
    CreateSequenceExpression
    CreateTableExpression
    CreateTableExpression
    DeleteColumnExpression
    DeleteColumnExpression
    DeleteConstraintExpression
    DeleteConstraintExpression
    DeleteDefaultConstraintExpression
    DeleteDefaultConstraintExpression
    DeleteForeignKeyExpression
    DeleteForeignKeyExpression
    DeleteIndexExpression
    DeleteIndexExpression
    DeleteSchemaExpression
    DeleteSchemaExpression
    DeleteSequenceExpression
    DeleteSequenceExpression
    DeleteTableExpression
    DeleteTableExpression
    ExecuteEmbeddedSqlScriptExpression
    ExecuteSqlScriptExpression
    ExecuteSqlScriptExpressionBase
    ExecuteSqlStatementExpression
    ExecuteSqlStatementExpression
    PerformDBOperationExpression
    PerformDBOperationExpression
    RenameColumnExpression
    RenameColumnExpression
    RenameTableExpression
    RenameTableExpression
    UpdateDataExpression
    UpdateDataExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    Inherited Members
    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 abstract class MigrationExpressionBase : IMigrationExpression, ICanBeValidated

    Methods

    | Edit this page View Source

    CollectValidationErrors(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

    | Edit this page View Source

    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

    | Edit this page View Source

    Reverse()

    Create a reversing migration expression

    Declaration
    public virtual IMigrationExpression Reverse()
    Returns
    Type Description
    IMigrationExpression

    The reversing migration expression

    | 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
    object.ToString()

    Implements

    IMigrationExpression
    ICanBeValidated

    Extension Methods

    LegacyValidationExtensions.CollectErrors(ICanBeValidated, ICollection<string>, IServiceProvider)
    LegacyValidationExtensions.TryCollectResults(ICanBeValidated, ICollection<ValidationResult>, IServiceProvider, IDictionary<object, object>)
    • 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.