Skip to main content
.NET 8.0+

ExplicitUnitOfWork.InTransaction Property

Indicates whether the explicit unit of work has started a database level transaction or tracked data modifications.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v25.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public override bool InTransaction { get; }

Property Value

Type Description
Boolean

true if a database level transaction is started, or any modifications have been made within a unit of work; otherwise, false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InTransaction property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also