Search Results for

    Show / Hide Table of Contents

    Class BaseMigrationUpgrader

    Inheritance
    object
    BaseMigrationUpgrader
    AlterColumnUpgrader
    UpdateCanModifySqlWrappersSetting
    RefreshAllEntities
    Inherited Members
    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 BaseMigrationUpgrader

    Constructors

    BaseMigrationUpgrader(IDataAccessor)

    Declaration
    protected BaseMigrationUpgrader(IDataAccessor accessor)
    Parameters
    Type Name Description
    IDataAccessor accessor

    Properties

    Accessor

    Declaration
    public IDataAccessor Accessor { get; }
    Property Value
    Type Description
    IDataAccessor

    AlwaysRunMigration

    Declaration
    public virtual bool AlwaysRunMigration { get; }
    Property Value
    Type Description
    bool

    DescriptorsForUpgrading

    Declaration
    protected IEnumerable<EntityDescriptor> DescriptorsForUpgrading { get; }
    Property Value
    Type Description
    IEnumerable<EntityDescriptor>

    IncludeWhenUpgradingFromScratch

    Declaration
    public virtual bool IncludeWhenUpgradingFromScratch { get; }
    Property Value
    Type Description
    bool

    Info

    Declaration
    public IDatabaseInfo Info { get; }
    Property Value
    Type Description
    IDatabaseInfo

    Log

    Declaration
    protected ILogger Log { get; }
    Property Value
    Type Description
    ILogger

    Version

    Declaration
    public abstract MigrationOrder Version { get; }
    Property Value
    Type Description
    MigrationOrder

    Methods

    ExecuteSqlCommand(IDbConnection, string)

    Declaration
    protected Task ExecuteSqlCommand(IDbConnection cn, string commandText)
    Parameters
    Type Name Description
    IDbConnection cn
    string commandText
    Returns
    Type Description
    Task

    RefreshDescriptorSchemas()

    Declaration
    public virtual IEnumerable<EntityDescriptor> RefreshDescriptorSchemas()
    Returns
    Type Description
    IEnumerable<EntityDescriptor>

    RunUpgradeAfterCompletionWithQueriesCreated(DataUpdater)

    Declaration
    public virtual Task RunUpgradeAfterCompletionWithQueriesCreated(DataUpdater updater)
    Parameters
    Type Name Description
    DataUpdater updater
    Returns
    Type Description
    Task

    RunUpgradeAfterEntityExists(IDbConnection)

    Declaration
    public virtual Task RunUpgradeAfterEntityExists(IDbConnection cn)
    Parameters
    Type Name Description
    IDbConnection cn
    Returns
    Type Description
    Task

    RunUpgradeAfterEntityUpgrades(IDbConnection)

    Declaration
    public virtual Task RunUpgradeAfterEntityUpgrades(IDbConnection cn)
    Parameters
    Type Name Description
    IDbConnection cn
    Returns
    Type Description
    Task

    RunUpgradeBeforeEntityUpgrades(IDbConnection)

    Declaration
    public virtual Task RunUpgradeBeforeEntityUpgrades(IDbConnection cn)
    Parameters
    Type Name Description
    IDbConnection cn
    Returns
    Type Description
    Task

    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.