The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.InTransaction Property

Indicates whether a transaction is in progress.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[Browsable(false)]
public virtual bool InTransaction { get; }
<Browsable(False)>
Public Overridable ReadOnly Property InTransaction As Boolean
[Browsable(false)]
public virtual bool InTransaction { get; }
<Browsable(False)>
Public Overridable ReadOnly Property InTransaction As Boolean

Property Value

Type Description
Boolean

true if a transaction is in progress; otherwise, false.

Property Value

Type Description
Boolean

true if a transaction is in progress; otherwise, false.

Remarks

A regular transaction is in progress until a call to either the Session.CommitTransaction method or the Session.RollbackTransaction method is made. An explicit transaction is in progress until a call to either the ExplicitUnitOfWork.CommitTransaction method or the ExplicitUnitOfWork.RollbackTransaction method is made.

See Also