Search Results for

    Show / Hide Table of Contents

    Class TransactionalMigrationScope

    A migration scope encapsulating migrations in a transaction

    Inheritance
    object
    TrackingMigrationScope
    TransactionalMigrationScope
    Implements
    IMigrationScope
    IDisposable
    Inherited Members
    TrackingMigrationScope.Dispose()
    TrackingMigrationScope.IsActive
    TrackingMigrationScope.Complete()
    TrackingMigrationScope.Cancel()
    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.Core.dll
    Syntax
    public class TransactionalMigrationScope : TrackingMigrationScope, IMigrationScope, IDisposable

    Constructors

    TransactionalMigrationScope(IMigrationProcessor, Action)

    Initializes a new instance of the TransactionalMigrationScope class.

    Declaration
    public TransactionalMigrationScope(IMigrationProcessor processor, Action disposalAction)
    Parameters
    Type Name Description
    IMigrationProcessor processor

    The migration processor

    Action disposalAction

    Called after the scope was cancelled

    Methods

    DoCancel()

    Called when Cancel() was called and the scope was active

    Declaration
    protected override void DoCancel()
    Overrides
    TrackingMigrationScope.DoCancel()

    DoComplete()

    Called when Complete() was called and the scope was active

    Declaration
    protected override void DoComplete()
    Overrides
    TrackingMigrationScope.DoComplete()

    Implements

    IMigrationScope
    IDisposable
    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.