Skip to main content
.NET 6.0+

IObjectLayerAsync Methods

Declares asynchronous methods for an object access layer.
Name Description
CommitChangesAsync(Session, ICollection, ICollection, CancellationToken) Asynchronously commits object changes made in a specified session and notifies upon completion.
CreateObjectTypeAsync(XPObjectType, CancellationToken) When implemented by a class, asynchronously creates an XPObjectType record.
GetObjectsByKeyAsync(Session, ObjectsByKeyQuery[], CancellationToken) Retrieves object data from a session asynchronously, according to specified query parameters.
LoadCollectionObjectsAsync(Session, XPMemberInfo, Object, CancellationToken) When implemented by a class, asynchronously loads a collection property using specified settings.
LoadDelayedPropertiesAsync(Session, IList, XPMemberInfo, CancellationToken) Asynchronously loads data from a session to an object’s specific properties marked for delayed loading.
LoadDelayedPropertiesAsync(Session, Object, MemberPathCollection, CancellationToken) Asynchronously loads data from a session to an object’s specific properties marked for delayed loading.
LoadObjectsAsync(Session, ObjectsQuery[], CancellationToken) Loads persistent objects asynchronously, according to specified query parameters.
SelectDataAsync(Session, ObjectsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator, CancellationToken) Retrieves object data from a session asynchronously, according to specified query parameters.
UpdateSchemaAsync(CancellationToken, Boolean, XPClassInfo[]) When implemented by a class, asynchronously performs object layer specific operations that are required to update a data store’s schema according to the class descriptions of the specified types.
See Also