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

Declaration

DataCacheUpdateSchemaResult UpdateSchema(
    DataCacheCookie cookie,
    DBTable[] tables,
    bool doNotCreateIfFirstTableNotExist
)
Function UpdateSchema(
    cookie As DataCacheCookie,
    tables As DBTable(),
    doNotCreateIfFirstTableNotExist As Boolean
) As DataCacheUpdateSchemaResult

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.

doNotCreateIfFirstTableNotExist 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