Allows the application to define units of work, while maintaining abstraction from the underlying transaction implementation

The following tables list the members exposed by the ITransaction type.

Public Methods

  NameDescription
BeginOverloaded.
Commit
Flush the associated ISession and end the unit of work.

Enlist
Enlist the IDbCommand in the current Transaction.

Rollback
Force the underlying transaction to roll back.

Public 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?