Back to Devexpress

IObjectLayerAsync Methods

xpo-devexpress-dot-xpo-dot-iobjectlayerasync-dot-underscore-methods.md

latest3.6 KB
Original Source

IObjectLayerAsync Methods

Declares asynchronous methods for an object access layer.

NameDescription
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

IObjectLayerAsync Interface

IObjectLayerAsync Members

DevExpress.Xpo Namespace