Skip to main content
.NET 6.0+

Session.ExplicitRollbackTransaction() Method

Completes a database level transaction and rolls back changes made within it.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo


public void ExplicitRollbackTransaction()


To start a database level transaction, use the Session.ExplicitBeginTransaction method. To complete the database level 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