Search Results for

    Show / Hide Table of Contents

    Interface IMigrationScopeManager

    Handler for IMigrationScope

    Namespace: FluentMigrator.Runner
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public interface IMigrationScopeManager

    Properties

    CurrentScope

    Gets migration scope for the runner

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

    Methods

    BeginScope()

    Creates new migration scope

    Declaration
    IMigrationScope BeginScope()
    Returns
    Type Description
    IMigrationScope

    Newly created scope

    CreateOrWrapMigrationScope(bool)

    Creates new migrations scope or reuses existing one

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

    Defines if transactions should be used

    Returns
    Type Description
    IMigrationScope

    Migration scope

    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.