Class CachedDataStoreService
- Namespace
- DevExpress.Xpo.DB
- Assembly
- DevExpress.Xpo.v24.1.dll
The base class for WCF services providing access to data via cached data stores (objects implementing the DevExpress.Xpo.DB.ICachedDataStore interface).
public class CachedDataStoreService : DataStoreService, ICachedDataStoreWarpService, ICachedDataStoreService, IDataStoreWarpService, IDataStoreService
- Inheritance
-
CachedDataStoreService
- Implements
- Inherited Members
Constructors
CachedDataStoreService(ICachedDataStore)
Initializes a new instance of the CachedDataStoreService class with a cached data store‘s element (Root or Node), which provides data for the service.
public CachedDataStoreService(ICachedDataStore provider)
Parameters
provider
ICachedDataStoreAn object implementing the DevExpress.Xpo.DB.ICachedDataStore interface, which provides data for the service.
Methods
ModifyDataCached(DataCacheCookie, ModificationStatement[])
Delegates the call to the ICacheToCacheCommunicationCore.ModifyData method of a cache element passed to the CachedDataStoreService‘s constructor and returns the operation result.
public virtual OperationResult<DataCacheModificationResult> ModifyDataCached(DataCacheCookie cookie, ModificationStatement[] dmlStatements)
Parameters
cookie
DataCacheCookiedmlStatements
ModificationStatement[]
Returns
- OperationResult<DataCacheModificationResult>
NotifyDirtyTables(DataCacheCookie, params string[])
Delegates the call to the ICacheToCacheCommunicationCore.NotifyDirtyTables method of a cache element passed to the CachedDataStoreService‘s constructor and returns the operation result.
public virtual OperationResult<DataCacheResult> NotifyDirtyTables(DataCacheCookie cookie, params string[] dirtyTablesNames)
Parameters
cookie
DataCacheCookiedirtyTablesNames
string[]
Returns
- OperationResult<DataCacheResult>
ProcessCookie(DataCacheCookie)
Delegates the call to the ICacheToCacheCommunicationCore.ProcessCookie method of a cache element passed to the CachedDataStoreService‘s constructor and returns the operation result.
public virtual OperationResult<DataCacheResult> ProcessCookie(DataCacheCookie cookie)
Parameters
cookie
DataCacheCookie
Returns
- OperationResult<DataCacheResult>
SelectDataCached(DataCacheCookie, SelectStatement[])
Delegates the call to the ICacheToCacheCommunicationCore.SelectData method of a cache element passed to the CachedDataStoreService‘s constructor and returns the operation result.
public virtual OperationResult<DataCacheSelectDataResult> SelectDataCached(DataCacheCookie cookie, SelectStatement[] selects)
Parameters
cookie
DataCacheCookieselects
SelectStatement[]
Returns
- OperationResult<DataCacheSelectDataResult>
UpdateSchemaCached(DataCacheCookie, DBTable[], bool)
Delegates the call to the ICacheToCacheCommunicationCore.UpdateSchema method of a cache element passed to the CachedDataStoreService‘s constructor and returns the operation result.
public virtual OperationResult<DataCacheUpdateSchemaResult> UpdateSchemaCached(DataCacheCookie cookie, DBTable[] tables, bool doNotCreateIfFirstTableNotExist)
Parameters
cookie
DataCacheCookietables
DBTable[]doNotCreateIfFirstTableNotExist
bool
Returns
- OperationResult<DataCacheUpdateSchemaResult>
WarpSelectDataCached(DataCacheCookie, SelectStatement[])
Reserved for future use.
public virtual OperationResult<DataCacheWarpSelectDataResult> WarpSelectDataCached(DataCacheCookie cookie, SelectStatement[] selects)
Parameters
cookie
DataCacheCookieselects
SelectStatement[]