Skip to main content
.NET Framework 4.5.2+

Session.ExplicitRollbackTransaction() Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public void ExplicitRollbackTransaction()

Remarks

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