Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IObjectSpaceAsync Members

In This Article
Declares asynchronous methods implemented by an Object Space.

#Properties

Name Description
IsAsyncOperationInProgress Specifies whether an asynchronous operation is in progress.

#Methods

Name Description
CommitChangesAsync(CancellationToken) Asynchronously saves all the changes made to the persistent objects that belong to the current Object Space to the database.
EvaluateAsync(Type, CriteriaOperator, CriteriaOperator, CancellationToken) Asynchronously evaluates the specified criteria for business objects of the given type.
FindObjectAsync(Type, CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for an object that matches the specified criteria.
FindObjectAsync<ObjectType>(CriteriaOperator, Boolean, CancellationToken) Asynchronously searches for an object that matches the specified criteria. The specified generic parameter determines the object’s type.
FindObjectAsync<ObjectType>(CriteriaOperator, CancellationToken) Asynchronously searches for an object that matches the specified criteria. The specified generic parameter determines the object’s type.
GetObjectAsync(Object, CancellationToken) Asynchronously retrieves an object from another Object Space to the current Object Space or gets a wrapped object (i.e., wrapped in IObjectRecord).
GetObjectByKeyAsync(Type, Object, CancellationToken) Returns the persistent object that has the specified value for its key property.
GetObjectByKeyAsync<ObjectType>(Object, CancellationToken) Returns the persistent object that has the specified value for its key property.
LoadAsync(Object, CancellationToken) Asynchronously loads the specified collection.
PreFetchAsync(Object, String[], CancellationToken) Asynchronously forces associated collection data loading and delayed property loading for specified parent objects.
ReloadObjectAsync(Object, CancellationToken) Asynchronously reloads the state of the specified persistent object and its aggregated objects from the data store.
ToListAsync<T>(Object, CancellationToken) Asynchronously enumerates all elements in a collection and saves them to a list.
See Also