ICachedDataStoreService.UpdateSchemaCached(DataCacheCookie, DBTable[], Boolean) Method
In This Article
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.2.dll
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 | Data |
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. |
do |
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 |
---|---|
Operation |
An Operation |
See Also