Skip to main content

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

Declaration

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

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.

doNotCreateIfFirstTableNotExist 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