Back to Devexpress

Member Table: Transactions

xpo-2112-member-tables-member-table-transactions.md

latest2.3 KB
Original Source

Member Table: Transactions

  • Jun 11, 2019
MemberDescription
Session.BeginTransactionStarts a transaction.
Session.CommitTransactionCommits changes made within a transaction and completes it.
Session.CommitTransactionAsyncAsynchronously commits changes made within a transaction, completes it and notifies upon completion.
Session.RollbackTransactionRolls back a transaction to its starting point, and completes it.
UnitOfWork.CommitChangesCommits all the changes made to persistent objects to a data store.
UnitOfWork.CommitChangesAsyncAsynchronously commits all the changes made to persistent objects to a data store and notifies upon completion.
Session.InTransactionIndicates whether a transaction is in progress.
Session.BeginNestedUnitOfWorkCreates a new NestedUnitOfWork.
Session.BeforeBeginTransactionOccurs when a transaction is about to be started via the BEGIN operation.
Session.AfterBeginTransactionOccurs after a transaction has been started via the BEGIN operation.
Session.BeforeCommitTransactionOccurs when a transaction is about to be completed via the COMMIT operation.
Session.AfterCommitTransactionOccurs after a transaction has been completed via the COMMIT operation.
Session.BeforeRollbackTransactionOccurs when a transaction is about to be completed via the ROLLBACK operation.
Session.AfterRollbackTransactionOccurs after a transaction has been completed via the ROLLBACK operation..