Search Results for

    Show / Hide Table of Contents

    Interface IMigrationScope

    A migration scope that encapsulates database changes in a transaction

    Inherited Members
    IDisposable.Dispose()
    Namespace: FluentMigrator.Runner
    Assembly: FluentMigrator.Runner.dll
    Syntax
    public interface IMigrationScope : IDisposable

    Properties

    | Edit this page View Source

    IsActive

    Gets a value indicating whether the migration scope is active?

    Declaration
    bool IsActive { get; }
    Property Value
    Type Description
    bool
    Remarks

    A migration scope is considered active when it is the outmost scope.

    Methods

    | Edit this page View Source

    Cancel()

    Marks the scope as cancelled.

    Declaration
    void Cancel()
    Remarks

    This usually involves the rollback of a transaction.

    | Edit this page View Source

    Complete()

    Marks the scope as complete.

    Declaration
    void Complete()
    Remarks

    This usually involves the commit a transaction.

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