ICachedDataStoreService.UpdateSchemaCached(DataCacheCookie, DBTable[], Boolean) Method
Defines a service operation that, when implemented by a class, updates a cached data store‘s schema according to specified settings.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
[OperationContract(Action = "http://tempuri.org/ICachedDataStoreService/UpdateSchemaCached", ReplyAction = "http://tempuri.org/ICachedDataStoreService/UpdateSchemaCachedResponse")]
[XmlSerializerFormat]
OperationResult<DataCacheUpdateSchemaResult> UpdateSchemaCached(
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 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 |
---|---|
OperationResult<DataCacheUpdateSchemaResult> | An OperationResult<DataCacheUpdateSchemaResult> denoting the result of the update operation. |