Click or drag to resize

CacheManagerCacheTable Method

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool CacheTable(
	DataTable tbl,
	string cacheID,
	DateTime expiryUTC,
	string signature,
	string description,
	string relID
)

Parameters

tbl
Type: System.DataDataTable
The DataTable to cache.
cacheID
Type: SystemString
The ID of the data, should be unique when used in conjunction with the current user ID.
expiryUTC
Type: SystemDateTime
The UTC date/time that the cache should expire.
signature
Type: SystemString
Optional data signature for detecting changes in the data characteristics that should cause the item to expire -- typically the SQL statement used to generate the data.
description
Type: SystemString
An optional description of the cached data.
relID
Type: SystemString
An optional value defining whether this cached data relates to a specific record in the database.

Return Value

Type: Boolean
True if the data replaces an existing cached item, else false.
See Also