CreateCustomCollectionSourceEventArgs.DataAccessMode Property
Specifies the mode used to access the Collection Source’s collection.
Namespace: DevExpress.ExpressApp
Assembly:
DevExpress.ExpressApp.v20.1.dll
Declaration
public CollectionSourceDataAccessMode DataAccessMode { get; }
Public ReadOnly Property DataAccessMode As CollectionSourceDataAccessMode
Available values:
Name |
Description |
Client
|
The entire record set required for the current List View is loaded into memory. All the data processing takes place on the client side.
|
Server
|
Data is requested from a data store in small portions that should currently be displayed. All data-aware operations are performed on the data server side.
|
DataView
|
A lightweight read-only list of data records (EFDataView or XPView) is retrieved without loading complete persistent objects.
|
InstantFeedback
|
A List View’s control continues responding to a user’s actions while the data is being retrieved in a background thread (see Instant Feedback Mode).
|
InstantFeedbackView
|
A lightweight read-only list of data records (ObjectRecord) is retrieved without loading complete persistent objects. A List View’s control continues responding to a user’s actions while the data is being retrieved in a background thread.
|
ServerView
|
A lightweight read-only list of data records (ObjectRecord) is retrieved without loading complete persistent objects. Data is requested from a data store in small portions that should currently be displayed.
|
When a CollectionSource object is being created for a List View, the DataAccessMode property returns that List View’s Data Access Mode specified in the Model Editor (see IModelListView.DataAccessMode) or in code (see CollectionSourceBase.DataAccessMode).
Detailed descriptions of the available data access modes are provided in the following topics.
See Also