A newer version of this page is available. Switch to the current version.

Member Table: Transactions

Member Description
Session.BeginTransaction Starts a transaction.
Session.CommitTransaction Commits changes made within a transaction and completes it.
Session.CommitTransactionAsync Asynchronously commits changes made within a transaction, completes it and notifies upon completion.
Session.RollbackTransaction Rolls back a transaction to its starting point, and completes it.
UnitOfWork.CommitChanges Commits all the changes made to persistent objects to a data store.
UnitOfWork.CommitChangesAsync Asynchronously commits all the changes made to persistent objects to a data store and notifies upon completion.
Session.InTransaction Indicates whether a transaction is in progress.
Session.BeginNestedUnitOfWork Creates a new nested unit of work.
Session.BeforeBeginTransaction Occurs when a transaction is about to be started via the BEGIN operation.
Session.AfterBeginTransaction Occurs after a transaction has been started via the BEGIN operation.
Session.BeforeCommitTransaction Occurs when a transaction is about to be completed via the COMMIT operation.
Session.AfterCommitTransaction Occurs after a transaction has been completed via the COMMIT operation.
Session.BeforeRollbackTransaction Occurs when a transaction is about to be completed via the ROLLBACK operation.
Session.AfterRollbackTransaction Occurs after a transaction has been completed via the ROLLBACK operation..