Click or drag to resize
DataCacheHelperGetCached10ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type, P6Type, P7Type, P8Type, P9Type, P10Type Method
Gets the data using the cache.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static ReturnType GetCached10<ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type, P6Type, P7Type, P8Type, P9Type, P10Type>(
	P1Type param1,
	P2Type param2,
	P3Type param3,
	P4Type param4,
	P5Type param5,
	P6Type param6,
	P7Type param7,
	P8Type param8,
	P9Type param9,
	P10Type param10,
	DataCacheHelperGetEventHandler10<ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type, P6Type, P7Type, P8Type, P9Type, P10Type> handler,
	string key,
	int cacheMinutes,
	bool requestCache,
	DataCacheHelperGetCacheDependencyEventHandler<ReturnType> dependencyCallback,
	string context
)

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
param6
Type: P6Type
Sixth parameter
param7
Type: P7Type
Seventh parameter
param8
Type: P8Type
Eight parameter
param9
Type: P9Type
Nineth parameter
param10
Type: P10Type
Tenth parameter
handler
Type: CMS.DataEngineDataCacheHelperGetEventHandler10ReturnType, P1Type, P2Type, P3Type, P4Type, P5Type, P6Type, P7Type, P8Type, P9Type, P10Type
Handler to retrieve the data from the database
key
Type: SystemString
Cache key to use
cacheMinutes
Type: SystemInt32
Cache minutes
requestCache
Type: SystemBoolean
Use request cache
dependencyCallback
Type: CMS.DataEngineDataCacheHelperGetCacheDependencyEventHandlerReturnType
Callback to get the cache dependency for the object
context
Type: SystemString
Context string

Type Parameters

ReturnType
Return type
P1Type
First parameter type
P2Type
Second parameter type
P3Type
Third parameter type
P4Type
Fourth parameter type
P5Type
Fifth parameter type
P6Type
Sixth parameter type
P7Type
Seventh parameter type
P8Type
Eight parameter type
P9Type
Nineth parameter type
P10Type
Tenth parameter type

Return Value

Type: ReturnType
See Also