All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.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.v20.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