Search Results for

    Show / Hide Table of Contents

    Interface IVersionLoader

    Manages the version table and the stored versions

    Namespace: FluentMigrator.Runner
    Assembly: FluentMigrator.Runner.dll
    Syntax
    public interface IVersionLoader

    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
    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
    bool AlreadyCreatedVersionTable { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Runner

    The runner this version loader belongs to

    Declaration
    IMigrationRunner Runner { get; set; }
    Property Value
    Type Description
    IMigrationRunner
    | Edit this page View Source

    VersionInfo

    Gets an interface to query/update the status of migrations

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

    VersionTableMetaData

    Gets the version table meta data

    Declaration
    IVersionTableMetaData VersionTableMetaData { get; }
    Property Value
    Type Description
    IVersionTableMetaData

    Methods

    | Edit this page View Source

    DeleteVersion(long)

    Deletes a version from the version table

    Declaration
    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
    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
    void LoadVersionInfo()
    | Edit this page View Source

    RemoveVersionTable()

    Removes the version table

    Declaration
    void RemoveVersionTable()
    | Edit this page View Source

    UpdateVersionInfo(long)

    Adds the version information

    Declaration
    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
    void UpdateVersionInfo(long version, string description)
    Parameters
    Type Name Description
    long version

    The version number

    string description

    The version description

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