Session.GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, CancellationToken) Method
This member supports the internal infrastructure and is not intended to be used directly from your code.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type |
|---|---|
| classInfo | XPClassInfo |
| condition | CriteriaOperator |
| sorting | SortingCollection |
| skipSelectedRecords | Int32 |
| topSelectedRecords | Int32 |
| selectDeleted | Boolean |
Optional Parameters
| Name | Type | Default |
|---|---|---|
| cancellationToken | CancellationToken | null |
Returns
| Type |
|---|
| Task<ICollection> |
Remarks
To get objects from a session, use the XPCollection and XPView components or the XPQuery<T>.
See Also