Skip to main content
A newer version of this page is available.
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

EFObjectSpace.Evaluate(Type, CriteriaOperator, CriteriaOperator) Method

Evaluates the specified criteria for business objects of the given type.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v20.2.dll

NuGet Package: DevExpress.ExpressApp.EF

Declaration

public override object Evaluate(
    Type objectType,
    CriteriaOperator expression,
    CriteriaOperator criteria
)

Parameters

Name Type Description
objectType Type

A CriteriaOperator object that specifies the expression to evaluate.

expression CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria. The objects that match this criteria will be used to evaluate the expression.

Returns

Type Description
Object

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

Remarks

To construct expression and criteria, the static CriteriaOperator.Parse method can be used. It takes a string representation of the required expression and retrieves the CriteriaOperator object that corresponds to this expression.

See Also