.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+

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.v21.1.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