Skip to main content
.NET 6.0+

Session.GetObjectsInTransactionAsync(XPClassInfo, CriteriaOperator, 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.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public Task<ICollection> GetObjectsInTransactionAsync(
    XPClassInfo classInfo,
    CriteriaOperator condition,
    bool selectDeleted,
    CancellationToken cancellationToken = default(CancellationToken)
)

Parameters

Name Type
classInfo XPClassInfo
condition CriteriaOperator
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