Inserts a cache entry into the cache by using a CacheItem instance to supply the key and value for the cache entry.
Namespace: Nemiro.Data.CachingAssembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax
Parameters
- key
- Type: System String
A unique identifier for the cache entry to add or get.
- value
- Type: System Object
The data for the cache entry.
- policy
- Type: System.Runtime.Caching CacheItemPolicy
An object that contains eviction details for the cache entry.
- regionName (Optional)
- Type: System String
A named region in the cache to which a cache entry was added.
See Also