EFObjectSpace.GetCriteria(Object) Method

Returns the criteria used to filter a particular collection on the server side.

Namespace: DevExpress.ExpressApp.EF

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

Declaration

public override CriteriaOperator GetCriteria(
    object collection
)
Public Overrides Function GetCriteria(
    collection As Object
) As CriteriaOperator

Parameters

Type Name Description
Object collection

A collection whose server-side filter must be retrieved.

Returns

Type Description
CriteriaOperator

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

This method gets the criteria if the requested collection is of the EFCollection or EFServerCollection type. These types are defined in XAF's DevExpress.ExpressApp.EF assembly. They are used by default for XAF List Views.

See Also