.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

ExplicitUnitOfWork.CommitTransaction() Method

Completes an explicit transaction and commits changes made within it.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll


public override void CommitTransaction()
Public Overrides Sub CommitTransaction


All data modifications made since the ExplicitUnitOfWork.BeginTransaction method call can be committed (CommitTransaction, ExplicitUnitOfWork.CommitTransactionAsync, UnitOfWork.CommitChanges, or UnitOfWork.CommitChangesAsync) or discarded (ExplicitUnitOfWork.RollbackTransaction).

Calling the CommitTransaction method performs the following:

See Also