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

XpoDataView Constructors

A lightweight read-only list of data records (a data view) retrieved from a database without loading complete XPO objects. Can be queried much more quickly than a real objects collection.
Name Parameters Description
XpoDataView(XPObjectSpace, Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>) objectSpace, objectType, expressions, criteria, sorting 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.
XpoDataView(XPObjectSpace, Type, String, CriteriaOperator, IList<SortProperty>) objectSpace, objectType, expressions, criteria, sorting Initializes a new instance of the XpoDataView class with the specified settings. Data view columns are specified using the semicolon-separated list of expression strings. For internal use only.
See Also