Back to Devexpress

Session.GetObjectByKeyAsync Method

xpo-devexpress-dot-xpo-dot-session-dot-getobjectbykeyasync.md

latest2.2 KB
Original Source

Session.GetObjectByKeyAsync Method

NameParametersDescription
GetObjectByKeyAsync(XPClassInfo, Object, Boolean, CancellationToken)classInfo, id, alwaysGetFromDataStore, cancellationTokenAsynchronously returns a persistent object that has the specified key property value from a data store.
GetObjectByKeyAsync(XPClassInfo, Object, CancellationToken)classInfo, id, cancellationTokenAsynchronously returns a persistent object that has the specified key property value.
GetObjectByKeyAsync(Type, Object, Boolean, CancellationToken)classType, id, alwaysGetFromDataStore, cancellationTokenAsynchronously returns a persistent object that has the specified key property value from a data store.
GetObjectByKeyAsync(Type, Object, CancellationToken)classType, id, cancellationTokenAsynchronously returns a persistent object that has the specified key property value.
GetObjectByKeyAsync<ClassType>(Object, Boolean, CancellationToken)id, alwaysGetFromDataStore, cancellationTokenAsynchronously returns a persistent object that has the specified key property value. The persistent object’s type is set by the generic type parameter.
GetObjectByKeyAsync<ClassType>(Object, CancellationToken)id, cancellationTokenAsynchronously returns a persistent object that has the specified key property value. The persistent object’s type is set by the generic type parameter.