IObjectLayerAsync.LoadDelayedPropertiesAsync(Session, Object, MemberPathCollection, CancellationToken) Method
In This Article
Asynchronously loads data from a session to an object’s specific properties marked for delayed loading.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
Task<object[]> LoadDelayedPropertiesAsync(
Session session,
object theObject,
MemberPathCollection props,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve data for delayed properties. |
the |
Object | A persistent object that contains delayed properties specified by the props. |
props | DevExpress. |
A Member |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<Object[]> | A Task that returns an array of loaded property values. |
See Also