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

PersistentBase.Session Property

Gets the session used to load and save persistent objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

[MemberDesignTimeVisibility(false)]
[Browsable(false)]
public Session Session { get; }
<MemberDesignTimeVisibility(False)>
<Browsable(False)>
Public ReadOnly Property Session As Session

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