.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

Session.ExplicitRollbackTransaction() Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.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