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

MSSql2005SqlDependencyCacheRoot.UpdateSchema(Boolean, DBTable[]) 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 UpdateSchemaResult UpdateSchema(
    bool dontCreateIfFirstTableNotExist,
    params DBTable[] tables
)

Parameters

Name Type Description
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.

tables DBTable[]

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

Returns

Type Description
UpdateSchemaResult

An UpdateSchemaResult denoting the result of the update operation.

See Also