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.EvaluateInTransactionAsync<ClassType>(CriteriaOperator, CriteriaOperator, CancellationToken) Method

Asynchronously evaluates the specified expression against objects whose type is designated by the generic parameter. Accounts for all in-memory object changes.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public Task<object> EvaluateInTransactionAsync<ClassType>(
    CriteriaOperator expression,
    CriteriaOperator criteria,
    CancellationToken cancellationToken = default(CancellationToken)
)
Public Function EvaluateInTransactionAsync(Of ClassType)(
    expression As CriteriaOperator,
    criteria As CriteriaOperator,
    cancellationToken As CancellationToken = Nothing
) As Task(Of Object)
public Task<object> EvaluateInTransactionAsync<ClassType>(
    CriteriaOperator expression,
    CriteriaOperator criteria,
    CancellationToken cancellationToken = default(CancellationToken)
)
Public Function EvaluateInTransactionAsync(Of ClassType)(
    expression As CriteriaOperator,
    criteria As CriteriaOperator,
    cancellationToken As CancellationToken = Nothing
) As Task(Of Object)

Parameters

Name Type Description
expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The methods evaluates the expression against objects that match these criteria.

cancellationToken CancellationToken

A CancellationToken object that delivers a cancellation notice to the running operation.

Parameters

Name Type Description
expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The methods evaluates the expression against objects that match these criteria.

cancellationToken CancellationToken

A CancellationToken object that delivers a cancellation notice to the running operation.

Returns

Type Description
Task<Object>

A Task that returns a value. This value is the evaluation's result.

Returns

Type Description
Task<Object>

A Task that returns a value. This value is the evaluation's result.

Type Parameters

Name Description
ClassType

Type Parameters

Name Description
ClassType
See Also