DataCacheHelper GetCached5 ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type  Method Kentico 8.0 API Reference
Gets the data using the cache.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

param1
Type: P1Type
First parameter
param2
Type: P2Type
Second parameter
param3
Type: P3Type
Third parameter
param4
Type: P4Type
Fourth parameter
param5
Type: P5Type
Fifth parameter
handler
Type: CMS.DataEngine DataCacheHelper GetEventHandler5 ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type 
Handler to retrieve the data from the database
key
Type: OnlineSystem String
Cache key to use
cacheMinutes
Type: OnlineSystem Int32
Cache minutes
requestCache
Type: OnlineSystem Boolean
Use request cache
dependencyCallback
Type: CMS.DataEngine DataCacheHelper GetCacheDependencyEventHandler ReturnType 
Callback to get the cache dependency for the object
context
Type: OnlineSystem String
Context string

Return Value

Type: ReturnType
See Also