Interface IMigrationScope
A migration scope that encapsulates database changes in a transaction
Inherited Members
Namespace: FluentMigrator.Runner
Assembly: FluentMigrator.Runner.dll
Syntax
public interface IMigrationScope : IDisposable
Properties
| Edit this page View SourceIsActive
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 SourceCancel()
Marks the scope as cancelled.
Declaration
void Cancel()
Remarks
This usually involves the rollback of a transaction.
Complete()
Marks the scope as complete.
Declaration
void Complete()
Remarks
This usually involves the commit a transaction.