The ITransaction type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Begin()()()() |
Begin the transaction with the default isolation level.
|
![]() | Begin(IsolationLevel) |
Begin the transaction with the specified isolation level.
|
![]() | Commit |
Flush the associated ISession and end the unit of work.
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Enlist |
Enlist the IDbCommand in the current Transaction.
|
![]() | RegisterSynchronization |
Register a user synchronization callback for this transaction.
|
![]() | Rollback |
Force the underlying transaction to roll back.
|
Properties
Name | Description | |
---|---|---|
![]() | IsActive |
Is the transaction in progress
|
![]() | WasCommitted |
Was the transaction successfully committed?
|
![]() | WasRolledBack |
Was the transaction rolled back or set to rollback only?
|