Skip to main content
.NET Framework 4.6.2+

XpoDataView Properties

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 Description
AllowEdit Gets whether you can update data records. This method always returns false because the list represented by XafDataView is readonly. Inherited from XafDataView.
AllowNew Gets whether you can add data records. This method always returns false because the list represented by XafDataView is readonly. Inherited from XafDataView.
AllowRemove Gets whether you can update data records. This method always returns false because the list represented by XafDataView is readonly. Inherited from XafDataView.
Count Gets the number of data records contained in the XafDataView. Inherited from XafDataView.
Criteria Specifies criteria used to filter the data view at the server side. Inherited from XafDataView.
DefaultUseServerSideSorting static Indicates that the sort operation is executed on the server side before the result set is trimmed according to the TopReturnedObjects property. This field affects all List Views in your application if you do not specify the UseServerSideSorting property for a particular List View.
Expressions Specifies data view column names and expressions used to compute column values. Inherited from XafDataView.
Filter
IsFixedSize Gets a value indicating whether the data view has a fixed size. This property value is always false because the list represented by XafDataView is readonly. Inherited from XafDataView.
IsLoaded Gets a value that indicates whether or not the data records list cached by XafDataView is initialized. Inherited from XafDataView.
IsReadOnly Gets a value indicating whether the list repersented by XafDataView is read-only. Always returns true. Inherited from XafDataView.
IsSynchronized Gets a value indicating whether access to the data view is synchronized. This method always returns false Inherited from XafDataView.
Item[Int32] Gets the data record at the specified index. Inherited from XafDataView.
ObjectSpace Gets the Object Space used to query data by the current XafDataView. Inherited from XafDataView.
ObjectType Gets the type of business objects that are queried by XafDataView. Inherited from XafDataView.
Sorting Specifies the sorted columns within the data view. Inherited from XafDataView.
SyncRoot Gets an object that can be used to synchronize access to the data view. Always returns the XafDataView instance itself, because the data view’s underlying store is not is not publicly available (see the Remarks section of the ICollection.SyncRoot Property topic). Inherited from XafDataView.
TopReturnedObjectsCount Specifies the number of data records retrieved by the XafDataView. Inherited from XafDataView.
See Also