Search Results for

    Show / Hide Table of Contents

    Class AlterColumnExpression

    The implementation of interfaces to alter a column

    Inheritance
    object
    MigrationExpressionBase
    AlterColumnExpression
    Implements
    IMigrationExpression
    ICanBeValidated
    ISchemaExpression
    IValidationChildren
    Inherited Members
    MigrationExpressionBase.CollectValidationErrors(ICollection<string>)
    MigrationExpressionBase.Reverse()
    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 AlterColumnExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, ISchemaExpression, IValidationChildren

    Properties

    | Edit this page View Source

    Column

    Gets or sets the column definition

    Declaration
    public virtual ColumnDefinition Column { get; set; }
    Property Value
    Type Description
    ColumnDefinition
    | Edit this page View Source

    SchemaName

    Gets or sets the schema name

    Declaration
    public virtual string SchemaName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TableName

    Gets or sets the table name

    Declaration
    [Required(ErrorMessageResourceType = typeof(ErrorMessages), ErrorMessageResourceName = "TableNameCannotBeNullOrEmpty")]
    public virtual string TableName { get; set; }
    Property Value
    Type Description
    string

    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

    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
    ISchemaExpression
    IValidationChildren

    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
    • Properties
      • Column
      • SchemaName
      • TableName
    • Methods
      • ExecuteWith(IMigrationProcessor)
      • ToString()
    • Implements
    • Extension Methods
    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.