Click or drag to resize

WebPageCacheControllerAddToCache Method (String, String, DateTime, SqlConnection, SqlTransaction)

Adds the specified data to the Cache with expiration.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static void AddToCache(
	string key,
	string data,
	DateTime expires,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

key
Type: SystemString
The cache key used to reference the data.
data
Type: SystemString
The data to be added to the cache.
expires
Type: SystemDateTime
The time at which the added data expires and is removed from the cache.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction
See Also