expressappframework-devexpress-dot-expressapp-dot-model-dot-imodeloptions.md
Specifies the default mode used to access the collection of business objects in List Views when the IModelListView.DataAccessMode property is not initialized.
Namespace : DevExpress.ExpressApp.Model
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[DefaultValue(CollectionSourceDataAccessMode.Client)]
CollectionSourceDataAccessMode DataAccessMode { get; set; }
<DefaultValue(CollectionSourceDataAccessMode.Client)>
Property DataAccessMode As CollectionSourceDataAccessMode
| Type | Default | Description |
|---|---|---|
| CollectionSourceDataAccessMode | Client |
A CollectionSourceDataAccessMode enumeration value that specifies the mode used to access a collection of business objects in List Views.
|
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 (DevExpress.ExpressApp.EFCore.EFCoreDataView 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.
| | Queryable |
The collection source constructs a query that the List Editor can modify to load only objects visible in the control. Only DevExpress.ExpressApp.Blazor.Editors.Grid.GridListEditor [deprecated] supports this mode.
|
You can access this nested property as listed below:
| Object Type | Path to DataAccessMode |
|---|---|
| IModelApplication |
.Options .DataAccessMode
|
This property value is used as a default value for IModelListView.DataAccessMode.
Refer to the following topics for detailed descriptions of the available data access modes:
When the DataAccessMode property is changed, all List Views, except for the autogenerated nested List Views, have their DataAccessMode property changed as well.
Note
All manually created List Views, including nested List Views, have the same IModelListView.DataAccessMode property value as the global DataAccessMode option.
See Also
Large Data Sources: Server and Instant Feedback Modes