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

NuGet Package: DevExpress.Data

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