The ITransaction type exposes the following members.

Methods

  NameDescription
Public methodBegin()()()()
Begin the transaction with the default isolation level.
Public methodBegin(IsolationLevel)
Begin the transaction with the specified isolation level.
Public methodCommit
Flush the associated ISession and end the unit of work.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEnlist
Enlist the IDbCommand in the current Transaction.
Public methodRegisterSynchronization
Register a user synchronization callback for this transaction.
Public methodRollback
Force the underlying transaction to roll back.

Properties

  NameDescription
Public propertyIsActive
Is the transaction in progress
Public propertyWasCommitted
Was the transaction successfully committed?
Public propertyWasRolledBack
Was the transaction rolled back or set to rollback only?

See Also