DataCacheNode Class
The Node element that is used to connect to a cached data store‘s Root or Node element.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
#Declaration
public class DataCacheNode :
DataCacheBase
#Remarks
The DataCacheNode provides storage for the cache in cached data stores. It can be connected to a Root element (DataCacheRoot or MSSql2005SqlDependencyCacheRoot) or another Node (DataCacheNode or DataCacheNodeLocal). To connect a newly created Node to a parent element (Root or Node), pass the parent element as the Node’s constructor parameter.
You can specify memory use limits for applications exploiting cached data stores via the DataCacheNode.TotalMemoryNotPurgeThreshold, DataCacheNode.TotalMemoryPurgeThreshold, and DataCacheNode.GlobalTotalMemoryPurgeThreshold properties. To designate tables to be cached, pass a DataCacheConfiguration instance to the Root’s DataCacheRoot.Configure method (for the MSSql2005SqlDependencyCacheRoot, use the corresponding MSSql2005SqlDependencyCacheRoot.CreateSqlDependencyCacheRoot overloaded method).
Note
We recommend that you use the Data