Class NoOpMigrationScope
A "no-operation" migration scope
Inherited Members
Namespace: FluentMigrator.Runner
Assembly: FluentMigrator.Runner.dll
Syntax
public class NoOpMigrationScope : IMigrationScope, IDisposable
Properties
| Edit this page View SourceIsActive
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 SourceCancel()
Marks the scope as cancelled.
Declaration
public void Cancel()
Remarks
This usually involves the rollback of a transaction.
Complete()
Marks the scope as complete.
Declaration
public void Complete()
Remarks
This usually involves the commit a transaction.
Dispose()
Declaration
public void Dispose()