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

Declaration

public DataCacheConfiguration(
    DataCacheConfigurationCaching caching,
    params string[] tables
)
Public Sub New(
    caching As DataCacheConfigurationCaching,
    ParamArray tables As String()
)

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