Skip to main content
.NET Framework 4.6.2+

XPBaseObject.Evaluate(CriteriaOperator) Method

Evaluates the specified expression against the current instance of the persistent object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public object Evaluate(
    CriteriaOperator expression
)

Parameters

Name Type Description
expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

Returns

Type Description
Object

The evaluated value.

Remarks

This method allows you to evaluate a specific expression against the current instance of the persistent object. The expression is specified by a CriteriaOperator object. By using another overload of the Evaluate method an expression can be specified as a string.

See Also