SessionObjectLayer Class
An object access layer that saves and loads persistent objects via a parent Session or UnitOfWork.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public class SessionObjectLayer :
IObjectLayerForTests,
IObjectLayer,
IObjectLayerProvider,
IXPDictionaryProvider,
IObjectLayerEx,
IDataLayerProvider,
IObjectLayerOnSession,
IObjectLayerAsync,
ICommandChannel,
ICommandChannelAsync
#Remarks
A SessionObjectLayer object is created automatically for nested units of work derived from a parent session’s scope. The created SessionObjectLayer uses a parent unit of work as a data source, to save and load data.