Search Results for

    Show / Hide Table of Contents

    Class MigrationScopeHandler

    Inheritance
    object
    MigrationScopeHandler
    Implements
    IMigrationScopeManager
    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 MigrationScopeHandler : IMigrationScopeManager

    Constructors

    | Edit this page View Source

    MigrationScopeHandler(IMigrationProcessor)

    Declaration
    [Obsolete]
    public MigrationScopeHandler(IMigrationProcessor processor)
    Parameters
    Type Name Description
    IMigrationProcessor processor
    | Edit this page View Source

    MigrationScopeHandler(IMigrationProcessor, ProcessorOptions)

    Declaration
    public MigrationScopeHandler(IMigrationProcessor processor, ProcessorOptions processorOptions)
    Parameters
    Type Name Description
    IMigrationProcessor processor
    ProcessorOptions processorOptions

    Properties

    | Edit this page View Source

    CurrentScope

    Gets migration scope for the runner

    Declaration
    public IMigrationScope CurrentScope { get; set; }
    Property Value
    Type Description
    IMigrationScope

    Methods

    | Edit this page View Source

    BeginScope()

    Creates new migration scope

    Declaration
    public IMigrationScope BeginScope()
    Returns
    Type Description
    IMigrationScope

    Newly created scope

    | Edit this page View Source

    CreateOrWrapMigrationScope(bool)

    Creates new migrations scope or reuses existing one

    Declaration
    public IMigrationScope CreateOrWrapMigrationScope(bool transactional = true)
    Parameters
    Type Name Description
    bool transactional

    Defines if transactions should be used

    Returns
    Type Description
    IMigrationScope

    Migration scope

    Implements

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