Table of Contents

Interface ICustomCriteriaOperatorQueryable

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

The interface which must be implemented by classes that provide information on custom criteria to use in LINQ to XPO expressions.

public interface ICustomCriteriaOperatorQueryable

Methods

GetCriteria(params CriteriaOperator[])

When implemented by a class, returns a DevExpress.Data.Filtering.CriteriaOperator equivalent to a custom function used in LINQ to XPO expressions, based on specified function parameters.

CriteriaOperator GetCriteria(params CriteriaOperator[] operands)

Parameters

operands CriteriaOperator[]

An array of DevExpress.Data.Filtering.CriteriaOperator containing function parameters.

Returns

CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object which corresponds to parameters passed as the operands.

GetMethodInfo()

When implemented by a class, returns the metadata of a method associated with a custom criterion used in LINQ to XPO expressions.

MethodInfo GetMethodInfo()

Returns

MethodInfo

A MethodInfo object which identifies the method to be used to evaluate a custom function associated with a custom criterion, based on specified function parameters.