Search Results for

    Show / Hide Table of Contents

    Interface IMigration

    The base interface for all migrations

    Namespace: FluentMigrator
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface IMigration

    Properties

    | Edit this page View Source

    ApplicationContext

    Gets the arbitrary application context passed to the task runner

    Declaration
    object ApplicationContext { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    ConnectionString

    Gets the connection string passed to the task runner

    Declaration
    string ConnectionString { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetDownExpressions(IMigrationContext)

    Collects all Down migration expressions in the context.

    Declaration
    void GetDownExpressions(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context

    The context to use while collecting the Down migration expressions

    | Edit this page View Source

    GetUpExpressions(IMigrationContext)

    Collects all Up migration expressions in the context.

    Declaration
    void GetUpExpressions(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context

    The context to use while collecting the Up migration expressions

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