SimpleObjectLayer.LoadDelayedPropertiesAsync(Session, Object, MemberPathCollection, CancellationToken) Method
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
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | A Session that is used to retrieve data for delayed properties. |
theObject | Object | A persistent object that contains delayed properties specified by the props. |
props | DevExpress.Xpo.Metadata.Helpers.MemberPathCollection | A MemberPathCollection object that specifies member paths for delayed properties where the LoadDelayedPropertiesAsync method loads data from a session. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
cancellationToken | CancellationToken | null | A CancellationToken object that delivers cancellation notice to the running operation. |
Returns
Type | Description |
---|---|
Task<Object[]> | A Task that returns an array of loaded property values. |
See Also