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

EFDataView(EFObjectSpace, Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>) Constructor

Initializes a new instance of the EFDataView class with the specified settings. Data view columns are specified via the IList<DataViewExpression> list.

Namespace: DevExpress.ExpressApp.EF

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

Declaration

public EFDataView(
    EFObjectSpace objectSpace,
    Type objectType,
    IList<DataViewExpression> expressions,
    CriteriaOperator criteria,
    IList<SortProperty> sorting
)

Parameters

Name Type Description
objectSpace EFObjectSpace

An EFObjectSpace object used to access data in XAF applications based on Entity Framework data model.

objectType Type

The Type of requested entity objects.

expressions IList<DataViewExpression>

An IList<DataViewExpression> list that specifies data view column names and expressions used to compute column values. These column names can be used for sorting the data view via the sorting parameters.

criteria CriteriaOperator

A CriteriaOperator object that specifies criteria associated with the data view.

sorting IList<SortProperty>

An IList<SortProperty> collection whose elements identify the sorted columns within the data view.

See Also