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

Session.ExplicitRollbackTransaction() Method

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll

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