IModelOptions.DataAccessMode Property

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.v18.1.dll
Syntax
CollectionSourceDataAccessMode DataAccessMode { get; set; }
Returns
Type Description
CollectionSourceDataAccessMode

A CollectionSourceDataAccessMode enumeration value that specifies the mode used to access a collection of business objects in List Views.

This property value is used as a default value for IModelListView.DataAccessMode.

Detailed descriptions of the available data access modes are provided in the following topics.

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