.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XpoDataView(XPObjectSpace, Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>) Constructor

Initializes a new instance of the XpoDataView class with the specified settings. Data view columns are specified using the list of DataViewExpression objects. For internal use only.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v20.2.dll


public XpoDataView(
    XPObjectSpace objectSpace,
    Type objectType,
    IList<DataViewExpression> expressions,
    CriteriaOperator criteria,
    IList<SortProperty> sorting
Public Sub New(
    objectSpace As XPObjectSpace,
    objectType As Type,
    expressions As IList(Of DataViewExpression),
    criteria As CriteriaOperator,
    sorting As IList(Of SortProperty)


Name Type Description
objectSpace XPObjectSpace

An XPObjectSpace object used to access data in XAF applications based on the XPO data model.

objectType Type

The Type of requested persistent 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 using 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