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

ICacheToCacheCommunicationCore.UpdateSchema(DataCacheCookie, DBTable[], Boolean) Method

When implemented by a class, updates a cached data store‘s schema according to specified settings and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v18.2.dll

Declaration

DataCacheUpdateSchemaResult UpdateSchema(
    DataCacheCookie cookie,
    DBTable[] tables,
    bool dontCreateIfFirstTableNotExist
)

Parameters

Name Type Description
cookie DataCacheCookie

A Root element’s state stored by a specific cache Node.

tables DBTable[]

An array of tables whose structure should be saved in the cached data store.

dontCreateIfFirstTableNotExist Boolean

true if the schema should not be created if the table that corresponds to the first item in the tables array doesn’t exist in the cached data store; otherwise, false.

Returns

Type Description
DataCacheUpdateSchemaResult

An DataCacheUpdateSchemaResult denoting the result of the update operation.

See Also