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+

PersistentBase.Session Property

Gets the session used to load and save persistent objects.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[MemberDesignTimeVisibility(false)]
[Browsable(false)]
public Session Session { get; }
<MemberDesignTimeVisibility(False)>
<Browsable(False)>
Public ReadOnly Property Session As Session
[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.

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, please see Session and Unit of Work.

See Also