IObjectLayerAsync.LoadDelayedPropertiesAsync(Session, IList, XPMemberInfo, 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<ObjectDictionary<object>> LoadDelayedPropertiesAsync(
Session session,
IList objects,
XPMemberInfo property,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve data for delayed properties. |
objects | IList | A list of persistent objects that contain the delayed property specified by the property. |
property | XPMember |
An XPMember |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellation |
Cancellation |
null | A Cancellation |
#Returns
Type | Description |
---|---|
Task<DevExpress. |
A Task that returns an array of loaded property values. |
See Also