Skip to main content
.NET Framework 4.5.2+

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.v24.1.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
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