Skip to main content
.NET 8.0+

PersistentBase.Session Property

Gets the session used to load and save persistent objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v25.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[MemberDesignTimeVisibility(false)]
[Browsable(false)]
public Session Session { get; }

Property Value

Type Description
Session

A Session object that represents the session used to load and save persistent objects.

Remarks

The Session property should be initialized within the constructor. For detailed information on sessions and examples, see Session and UnitOfWork.

Implements

See Also