Skip to main content
.NET 6.0+

IObjectSpaceAsync Members

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