A newer version of this page is available. Switch to the current version.

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

Updates a cached data store's schema according to specified settings.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public DataCacheUpdateSchemaResult UpdateSchema(
    DataCacheCookie cookie,
    DBTable[] tables,
    bool dontCreateIfFirstTableNotExist
)
Public Function UpdateSchema(
    cookie As DataCacheCookie,
    tables As DBTable(),
    dontCreateIfFirstTableNotExist 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 a cached data store.

dontCreateIfFirstTableNotExist Boolean

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

Returns

Type Description
DataCacheUpdateSchemaResult

A DataCacheUpdateSchemaResult denoting the result of the update operation.

See Also