Session.GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, SortingCollection, Int32, Int32, Boolean, CancellationToken) Method
In This Article
This member supports the internal infrastructure and is not intended to be used directly from your code.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public Task<ICollection> GetObjectsInTransactionAsync(
XPClassInfo classInfo,
CriteriaOperator condition,
SortingCollection sorting,
int skipSelectedRecords,
int topSelectedRecords,
bool selectDeleted,
CancellationToken cancellationToken = default(CancellationToken)
)
#Parameters
Name | Type |
---|---|
class |
XPClass |
condition | Criteria |
sorting | Sorting |
skip |
Int32 |
top |
Int32 |
select |
Boolean |
#Optional Parameters
Name | Type | Default |
---|---|---|
cancellation |
Cancellation |
null |
#Returns
Type |
---|
Task<ICollection> |
#Remarks
To get objects from a session, use the XPCollection and XPView components or the XPQuery<T>.
See Also