Skip to main content
A newer version of this page is available.

EFObjectSpace.ApplyCriteria(Object, CriteriaOperator) Method

Filters the specified collection according to the specified criteria on the server side.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.1.dll

Declaration

public override void ApplyCriteria(
    object collection,
    CriteriaOperator criteria
)

Parameters

Name Type Description
collection Object

An Object that is the collection to be filtered.

criteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object that specifies the criteria used to filter objects on the server side.

Remarks

This method applies the specified criteria, if the collection passed as the collection parameter is a EFCollection or a EFServerCollection. These types are defined in XAF’s DevExpress.ExpressApp.EF assembly. They are used by default for XAF List Views.

See Also