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.EvaluateInTransaction(Type, CriteriaOperator, CriteriaOperator) Method

Evaluates the specified expression against objects of the specified type. Accounts for all in-memory object changes.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public object EvaluateInTransaction(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Function EvaluateInTransaction(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object
public object EvaluateInTransaction(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)
Public Function EvaluateInTransaction(
    objectType As Type,
    expression As CriteriaOperator,
    criteria As CriteriaOperator
) As Object

Parameters

Name Type Description
objectType Type

A Type object that identifies the type of objects against which the expression is evaluated.

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.

Parameters

Name Type Description
objectType Type

A Type object that identifies the type of objects against which the expression is evaluated.

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.

Returns

Type Description
Object

A value, which is the evaluation's result.

Returns

Type Description
Object

A value, which is the evaluation's result.

See Also