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.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
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 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