Skip to main content

DataCacheConfiguration(DataCacheConfigurationCaching, String[]) Constructor

Initializes a new instance of the DataCacheConfiguration class with specified caching scope settings.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public DataCacheConfiguration(
    DataCacheConfigurationCaching caching,
    params string[] tables


Name Type Description
caching DataCacheConfigurationCaching

A DataCacheConfigurationCaching enumeration value specifying the scope of tables. The specified value is used to initialize the DataCacheConfiguration.Caching property.

tables String[]

An array of table names used to determine the caching scope. The specified value is used to initialize the DataCacheConfiguration.Tables property.

See Also