.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
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.
.NET Core 3.0+

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

Declaration

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

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