.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ICachedDataStoreServiceAsync.UpdateSchemaCachedAsync(DataCacheCookie, DBTable[], Boolean) Method

Asynchronously updates a cached data store‘s schema according to specified settings.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.dll


[OperationContract(Action = "http://tempuri.org/ICachedDataStoreService/UpdateSchemaCached", ReplyAction = "http://tempuri.org/ICachedDataStoreService/UpdateSchemaCachedResponse")]
Task<OperationResult<DataCacheUpdateSchemaResult>> UpdateSchemaCachedAsync(
    DataCacheCookie cookie,
    DBTable[] tables,
    bool doNotCreateIfFirstTableNotExist


Name Type Description
cookie DataCacheCookie

A Root element’s state stored by a specific cache Node.

tables DBTable[]

An array of tables whose structure is saved to a cached data store.

doNotCreateIfFirstTableNotExist Boolean

Defines whether to create and update tables if the data store does not contain the tables array’s first item. true, to prevent table creation and schema update; false, to create new tables and update schema.


Type Description

A Task that returns the operation result.

See Also