Search Results for

    Show / Hide Table of Contents

    Class ConnectionlessVersionLoader

    Inheritance
    object
    ConnectionlessVersionLoader
    Implements
    IVersionLoader
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner
    Assembly: FluentMigrator.Runner.dll
    Syntax
    public class ConnectionlessVersionLoader : IVersionLoader

    Constructors

    | Edit this page View Source

    ConnectionlessVersionLoader(IProcessorAccessor, IMigrationRunnerConventions, IOptions<RunnerOptions>, IMigrationInformationLoader, IVersionTableMetaData)

    Declaration
    public ConnectionlessVersionLoader(IProcessorAccessor processorAccessor, IMigrationRunnerConventions conventions, IOptions<RunnerOptions> runnerOptions, IMigrationInformationLoader migrationInformationLoader, IVersionTableMetaData versionTableMetaData)
    Parameters
    Type Name Description
    IProcessorAccessor processorAccessor
    IMigrationRunnerConventions conventions
    IOptions<RunnerOptions> runnerOptions
    IMigrationInformationLoader migrationInformationLoader
    IVersionTableMetaData versionTableMetaData

    Properties

    | Edit this page View Source

    AlreadyCreatedVersionSchema

    Gets a value indicating whether the schema for the version table has been created (or already exited)

    Declaration
    public bool AlreadyCreatedVersionSchema { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    AlreadyCreatedVersionTable

    Gets a value indicating whether the version table has been created (or already exited)

    Declaration
    public bool AlreadyCreatedVersionTable { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Assemblies

    Declaration
    [Obsolete]
    [CanBeNull]
    protected IAssemblyCollection Assemblies { get; set; }
    Property Value
    Type Description
    IAssemblyCollection
    | Edit this page View Source

    Conventions

    Declaration
    public IMigrationRunnerConventions Conventions { get; set; }
    Property Value
    Type Description
    IMigrationRunnerConventions
    | Edit this page View Source

    Runner

    The runner this version loader belongs to

    Declaration
    [Obsolete]
    [CanBeNull]
    public IMigrationRunner Runner { get; set; }
    Property Value
    Type Description
    IMigrationRunner
    | Edit this page View Source

    StartVersion

    Declaration
    public long StartVersion { get; set; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    TargetVersion

    Declaration
    public long TargetVersion { get; set; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    VersionDescriptionMigration

    Declaration
    public IMigration VersionDescriptionMigration { get; }
    Property Value
    Type Description
    IMigration
    | Edit this page View Source

    VersionInfo

    Gets an interface to query/update the status of migrations

    Declaration
    public IVersionInfo VersionInfo { get; set; }
    Property Value
    Type Description
    IVersionInfo
    | Edit this page View Source

    VersionMigration

    Declaration
    public IMigration VersionMigration { get; }
    Property Value
    Type Description
    IMigration
    | Edit this page View Source

    VersionSchemaMigration

    Declaration
    public VersionSchemaMigration VersionSchemaMigration { get; }
    Property Value
    Type Description
    VersionSchemaMigration
    | Edit this page View Source

    VersionTableMetaData

    Gets the version table meta data

    Declaration
    public IVersionTableMetaData VersionTableMetaData { get; set; }
    Property Value
    Type Description
    IVersionTableMetaData
    | Edit this page View Source

    VersionUniqueMigration

    Declaration
    public IMigration VersionUniqueMigration { get; }
    Property Value
    Type Description
    IMigration

    Methods

    | Edit this page View Source

    CreateVersionInfoInsertionData(long, string)

    Declaration
    protected virtual InsertionDataDefinition CreateVersionInfoInsertionData(long version, string description)
    Parameters
    Type Name Description
    long version
    string description
    Returns
    Type Description
    InsertionDataDefinition
    | Edit this page View Source

    DeleteVersion(long)

    Deletes a version from the version table

    Declaration
    public void DeleteVersion(long version)
    Parameters
    Type Name Description
    long version

    The version to delete from the version table

    | Edit this page View Source

    GetVersionTableMetaData()

    Get the version table metadata

    Declaration
    public IVersionTableMetaData GetVersionTableMetaData()
    Returns
    Type Description
    IVersionTableMetaData

    The version table metadata

    | Edit this page View Source

    LoadVersionInfo()

    Loads all version data stored in the version table

    Declaration
    public void LoadVersionInfo()
    | Edit this page View Source

    RemoveVersionTable()

    Removes the version table

    Declaration
    public void RemoveVersionTable()
    | Edit this page View Source

    UpdateVersionInfo(long)

    Adds the version information

    Declaration
    public void UpdateVersionInfo(long version)
    Parameters
    Type Name Description
    long version

    The version number

    | Edit this page View Source

    UpdateVersionInfo(long, string)

    Adds the version information

    Declaration
    public void UpdateVersionInfo(long version, string description)
    Parameters
    Type Name Description
    long version

    The version number

    string description

    The version description

    Implements

    IVersionLoader
    • 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.