Skip to main content
A newer version of this page is available.
.NET Framework 4.5.2+
  • 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.

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

Declaration

public override CriteriaOperator GetCriteria(
    object collection
)

Parameters

Name Type Description
collection Object

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.

Remarks

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