xpo-devexpress-dot-xpo-dot-session-ccfb80b2.md
Provides access to an object access layer, which the current session uses to retrieve and update object data in a data store.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
[Browsable(false)]
public IObjectLayer ObjectLayer { get; }
<Browsable(False)>
Public ReadOnly Property ObjectLayer As IObjectLayer
| Type | Description |
|---|---|
| IObjectLayer |
An object that implements the IObjectLayer interface.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ObjectLayer property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
&& (Session.DataLayer != null)
&& (Session.ObjectLayer is SimpleObjectLayer)
//OR
See Also