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.v18.2.dll

Declaration

public override void ApplyCriteria(
    object collection,
    CriteriaOperator criteria
)
Public Overrides Sub ApplyCriteria(
    collection As Object,
    criteria As CriteriaOperator
)

Parameters

Type Name Description
Object collection

An Object that is the collection to be filtered.

CriteriaOperator criteria

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