Search Results for

    Show / Hide Table of Contents

    Class VersionLoader

    Inheritance
    object
    VersionLoader
    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 VersionLoader : IVersionLoader

    Constructors

    | Edit this page View Source

    VersionLoader(IProcessorAccessor, IConventionSet, IMigrationRunnerConventions, IVersionTableMetaData, IMigrationRunner)

    Declaration
    public VersionLoader(IProcessorAccessor processorAccessor, IConventionSet conventionSet, IMigrationRunnerConventions conventions, IVersionTableMetaData versionTableMetaData, IMigrationRunner runner)
    Parameters
    Type Name Description
    IProcessorAccessor processorAccessor
    IConventionSet conventionSet
    IMigrationRunnerConventions conventions
    IVersionTableMetaData versionTableMetaData
    IMigrationRunner runner

    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

    AlreadyMadeVersionDescription

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

    AlreadyMadeVersionUnique

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

    Assemblies

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

    OwnsVersionSchema

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

    Runner

    The runner this version loader belongs to

    Declaration
    [NotNull]
    public IMigrationRunner Runner { get; set; }
    Property Value
    Type Description
    IMigrationRunner
    | 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; }
    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
    [NotNull]
    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
    • Constructors
      • VersionLoader(IProcessorAccessor, IConventionSet, IMigrationRunnerConventions, IVersionTableMetaData, IMigrationRunner)
    • Properties
      • AlreadyCreatedVersionSchema
      • AlreadyCreatedVersionTable
      • AlreadyMadeVersionDescription
      • AlreadyMadeVersionUnique
      • Assemblies
      • OwnsVersionSchema
      • Runner
      • VersionDescriptionMigration
      • VersionInfo
      • VersionMigration
      • VersionSchemaMigration
      • VersionTableMetaData
      • VersionUniqueMigration
    • Methods
      • CreateVersionInfoInsertionData(long, string)
      • DeleteVersion(long)
      • GetVersionTableMetaData()
      • LoadVersionInfo()
      • RemoveVersionTable()
      • UpdateVersionInfo(long)
      • UpdateVersionInfo(long, string)
    • Implements
    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.