.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.EvaluateInTransaction<ClassType>(CriteriaOperator, CriteriaOperator) Method

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

Declaration

public object EvaluateInTransaction<ClassType>(
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Function EvaluateInTransaction(Of ClassType)(
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As 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 method evaluates the expression against objects that match these criteria.

Type Parameters

Name Description
ClassType

The type of objects against which the expression is evaluated.

Returns

Type Description
Object

A value, which is the evaluation's result.

See Also