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

SessionObjectLayer Class

An object access layer that saves and loads persistent objects via a parent session or unit of work.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public class SessionObjectLayer :
    IObjectLayerForTests,
    IObjectLayer,
    IObjectLayerProvider,
    IXPDictionaryProvider,
    IObjectLayerEx,
    IDataLayerProvider,
    IObjectLayerOnSession,
    IObjectLayerAsync,
    ICommandChannel
Public Class SessionObjectLayer
    Implements IObjectLayerForTests,
               IObjectLayer,
               IObjectLayerProvider,
               IXPDictionaryProvider,
               IObjectLayerEx,
               IDataLayerProvider,
               IObjectLayerOnSession,
               IObjectLayerAsync,
               ICommandChannel
public class SessionObjectLayer :
    IObjectLayerForTests,
    IObjectLayer,
    IObjectLayerProvider,
    IXPDictionaryProvider,
    IObjectLayerEx,
    IDataLayerProvider,
    IObjectLayerOnSession,
    IObjectLayerAsync,
    ICommandChannel
Public Class SessionObjectLayer
    Implements IObjectLayerForTests,
               IObjectLayer,
               IObjectLayerProvider,
               IXPDictionaryProvider,
               IObjectLayerEx,
               IDataLayerProvider,
               IObjectLayerOnSession,
               IObjectLayerAsync,
               ICommandChannel

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.

Inheritance

Object
SessionObjectLayer
See Also