Search Results for

    Show / Hide Table of Contents

    Class NoOpMigrationScope

    A "no-operation" migration scope

    Inheritance
    object
    NoOpMigrationScope
    Implements
    IMigrationScope
    IDisposable
    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 NoOpMigrationScope : IMigrationScope, IDisposable

    Properties

    | Edit this page View Source

    IsActive

    Gets a value indicating whether the migration scope is active?

    Declaration
    public 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
    public void Cancel()
    Remarks

    This usually involves the rollback of a transaction.

    | Edit this page View Source

    Complete()

    Marks the scope as complete.

    Declaration
    public void Complete()
    Remarks

    This usually involves the commit a transaction.

    | Edit this page View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Implements

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