SqlCacheHelper..::..Add<(Of <(<'T>)>)> Method (String, T, SqlCacheDependency, Double)
Insert value into the cache using
appropriate name/value pairs
Namespace:
CoreAssembly: Core (in Core.dll)
Syntax
public static void Add<T>( string key, T value, SqlCacheDependency sqlCacheDependency, double cacheTimeSeconds )
Type Parameters
- T
- Type of cached item
Parameters
- key
- Type: String
Name of item
- value
- Type: T
The value.
- sqlCacheDependency
- Type: SqlCacheDependency
The SQL cache dependency.
- cacheTimeSeconds
- Type: Double
The cache time seconds.