Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

public DataCacheConfiguration(
    DataCacheConfigurationCaching caching,
    params string[] tables
)

Parameters

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