Skip to main content

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

Parameters

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

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