Method PutItem
PutItem(String, DbResultItem, DbCommand, CachingOptions)
Adds the specified entry to the cache.
Declaration
public void PutItem(string key, DbResultItem resultItem, DbCommand dbCommand, CachingOptions cachingOption)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The entry key. |
Alachisoft. |
resultItem | The entry value. |
System. |
dbCommand | Represents an SQL command to create database dependency. |
Caching |
cachingOption | Different options like Absolute expiration, sliding expiration etc. |