XafDataView Properties
A lightweight read-only list of data records (a data view) retrieved from a database without loading complete business 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. |
AllowNew | Gets whether you can add data records. This method always returns false because the list represented by XafDataView is readonly. |
AllowRemove | Gets whether you can update data records. This method always returns false because the list represented by XafDataView is readonly. |
Count | Gets the number of data records contained in the XafDataView. |
Criteria | Specifies criteria used to filter the data view at the server side. |
Expressions | Specifies data view column names and expressions used to compute column values. |
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. |
IsLoaded | Gets a value that indicates whether or not the data records list cached by XafDataView is initialized. |
IsReadOnly | Gets a value indicating whether the list repersented by XafDataView is read-only. Always returns true. |
IsSynchronized | Gets a value indicating whether access to the data view is synchronized. This method always returns false |
Item[Int32] | Gets the data record at the specified index. |
ObjectSpace | Gets the Object Space used to query data by the current XafDataView. |
ObjectType | Gets the type of business objects that are queried by XafDataView. |
Sorting | Specifies the sorted columns within the data view. |
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). |
TopReturnedObjectsCount | Specifies the number of data records retrieved by the XafDataView. |
See Also