The ITransaction type exposes the following members.

Methods

  NameDescription
BeginOverloaded.
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.
Rollback
Force the underlying transaction to roll back.

Properties

  NameDescription
IsActive
Is the transaction in progress
WasCommitted
Was the transaction successfully committed?
WasRolledBack
Was the transaction rolled back or set to rollback only?

See Also