Search Results for

    Show / Hide Table of Contents

    Class AlterColumnUpgrader

    Inheritance
    object
    BaseMigrationUpgrader
    AlterColumnUpgrader
    AlterColumnNullabilityUpgrader
    ColumnTypeChange
    Inherited Members
    BaseMigrationUpgrader.RunUpgradeBeforeEntityUpgrades(IDbConnection)
    BaseMigrationUpgrader.RunUpgradeAfterEntityUpgrades(IDbConnection)
    BaseMigrationUpgrader.RunUpgradeAfterCompletionWithQueriesCreated(DataUpdater)
    BaseMigrationUpgrader.ExecuteSqlCommand(IDbConnection, string)
    BaseMigrationUpgrader.DescriptorsForUpgrading
    BaseMigrationUpgrader.Version
    BaseMigrationUpgrader.IncludeWhenUpgradingFromScratch
    BaseMigrationUpgrader.AlwaysRunMigration
    BaseMigrationUpgrader.Info
    BaseMigrationUpgrader.Accessor
    BaseMigrationUpgrader.Log
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Connections.Database.Migrations.Core
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    public abstract class AlterColumnUpgrader : BaseMigrationUpgrader

    Constructors

    AlterColumnUpgrader(IDataAccessor)

    Declaration
    public AlterColumnUpgrader(IDataAccessor accessor)
    Parameters
    Type Name Description
    IDataAccessor accessor

    Properties

    ColumnNames

    Declaration
    public abstract string[] ColumnNames { get; }
    Property Value
    Type Description
    string[]

    ForEntityType

    Declaration
    public abstract Type ForEntityType { get; }
    Property Value
    Type Description
    Type

    Methods

    AlterColumnGuardSQL(string, string)

    Declaration
    public abstract string AlterColumnGuardSQL(string tableName, string columnName)
    Parameters
    Type Name Description
    string tableName
    string columnName
    Returns
    Type Description
    string

    RefreshDescriptorSchemas()

    Declaration
    public override sealed IEnumerable<EntityDescriptor> RefreshDescriptorSchemas()
    Returns
    Type Description
    IEnumerable<EntityDescriptor>
    Overrides
    BaseMigrationUpgrader.RefreshDescriptorSchemas()

    RunUpgradeAfterEntityExists(IDbConnection)

    Declaration
    public override sealed Task RunUpgradeAfterEntityExists(IDbConnection cn)
    Parameters
    Type Name Description
    IDbConnection cn
    Returns
    Type Description
    Task
    Overrides
    BaseMigrationUpgrader.RunUpgradeAfterEntityExists(IDbConnection)

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.