Search Results for

    Show / Hide Table of Contents

    Class MigrationContext

    Inheritance
    object
    MigrationContext
    Implements
    IMigrationContext
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Infrastructure
    Assembly: FluentMigrator.dll
    Syntax
    public class MigrationContext : IMigrationContext

    Constructors

    MigrationContext(IQuerySchema, IAssemblyCollection, object, string)

    Declaration
    public MigrationContext(IQuerySchema querySchema, IAssemblyCollection migrationAssemblies, object context, string connection)
    Parameters
    Type Name Description
    IQuerySchema querySchema
    IAssemblyCollection migrationAssemblies
    object context
    string connection

    Properties

    ApplicationContext

    The arbitrary application context passed to the task runner.

    Declaration
    public virtual object ApplicationContext { get; set; }
    Property Value
    Type Description
    object

    Connection

    Connection String from the runner.

    Declaration
    public string Connection { get; set; }
    Property Value
    Type Description
    string

    Expressions

    Declaration
    public virtual ICollection<IMigrationExpression> Expressions { get; set; }
    Property Value
    Type Description
    ICollection<IMigrationExpression>

    MigrationAssemblies

    Declaration
    public virtual IAssemblyCollection MigrationAssemblies { get; set; }
    Property Value
    Type Description
    IAssemblyCollection

    QuerySchema

    Declaration
    public virtual IQuerySchema QuerySchema { get; set; }
    Property Value
    Type Description
    IQuerySchema

    Implements

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