The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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

Declaration

public Task<ICollection> GetObjectsInTransactionAsync(
    XPClassInfo classInfo,
    CriteriaOperator condition,
    SortingCollection sorting,
    int skipSelectedRecords,
    int topSelectedRecords,
    bool selectDeleted,
    CancellationToken cancellationToken = default(CancellationToken)
)
Public Function GetObjectsInTransactionAsync(
    classInfo As XPClassInfo,
    condition As CriteriaOperator,
    sorting As SortingCollection,
    skipSelectedRecords As Integer,
    topSelectedRecords As Integer,
    selectDeleted As Boolean,
    cancellationToken As CancellationToken = Nothing
) As Task(Of ICollection)
public Task<ICollection> GetObjectsInTransactionAsync(
    XPClassInfo classInfo,
    CriteriaOperator condition,
    SortingCollection sorting,
    int skipSelectedRecords,
    int topSelectedRecords,
    bool selectDeleted,
    CancellationToken cancellationToken = default(CancellationToken)
)
Public Function GetObjectsInTransactionAsync(
    classInfo As XPClassInfo,
    condition As CriteriaOperator,
    sorting As SortingCollection,
    skipSelectedRecords As Integer,
    topSelectedRecords As Integer,
    selectDeleted As Boolean,
    cancellationToken As CancellationToken = Nothing
) As Task(Of ICollection)

Parameters

Name Type Description
classInfo XPClassInfo
condition CriteriaOperator
sorting SortingCollection
skipSelectedRecords Int32
topSelectedRecords Int32
selectDeleted Boolean
cancellationToken CancellationToken

Parameters

Name Type Description
classInfo XPClassInfo
condition CriteriaOperator
sorting SortingCollection
skipSelectedRecords Int32
topSelectedRecords Int32
selectDeleted Boolean
cancellationToken CancellationToken

Returns

Type Description
Task<ICollection>

Returns

Type Description
Task<ICollection>

Remarks

To get objects from a session, use the XPCollection and XPView components or the XPQuery<T>.

See Also