Skip to main content
.NET 6.0+

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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(CollectionSourceDataAccessMode.Client)]
[TypeConverter(typeof(DataAccessModeConverter))]
CollectionSourceDataAccessMode DataAccessMode { get; set; }

Property Value

Type Default Description
CollectionSourceDataAccessMode Client

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

Property Paths

You can access this nested property as listed below:

Object Type Path to DataAccessMode
IModelApplication
.Options .DataAccessMode

Remarks

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