.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.ExplicitRollbackTransaction() Method

Completes an explicit transaction and rolls back changes made within it.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll


public void ExplicitRollbackTransaction()
Public Sub ExplicitRollbackTransaction


To start an explicit transaction, use the Session.ExplicitBeginTransaction method. To complete the explicit transaction, call the Session.ExplicitCommitTransaction method. All data modifications made since the start of the transaction can be discarded via the ExplicitRollbackTransaction method call.

See Also