Skip to main content
.NET Framework 4.6.2+

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.v24.2.dll

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