CacheManagerTryGetTable Method |
Name | Description | |
---|---|---|
TryGetTable(String, String, DataTable, DateTime) |
Attempt to retrieve a cached DataTable item. Use CacheTable(DataTable, String, DateTime, String, String, String) to cache the DataTable.
See TryGetString(String, String, String, DateTime) for retrieving string data, or TryGetObject(String, String, Type, Object, DateTime) for retrieving other objects.
Together the cacheID and ID should form a unique identifier.
Having uniquely identified the item in this manner, the item's expiry and optional signature match
are used to determine whether or not to accept the item as a cache hit and return it.
| |
TryGetTable(String, String, DataTable, NullableDateTime) |
Attempt to retrieve a cached DataTable item. Use CacheTable(DataTable, String, DateTime, String, String, String) to cache the DataTable.
See TryGetString(String, String, String, DateTime) for retrieving string data, or TryGetObject(String, String, Type, Object, DateTime) for retrieving other objects.
Together the cacheID and ID should form a unique identifier.
Having uniquely identified the item in this manner, the item's expiry and optional signature match
are used to determine whether or not to accept the item as a cache hit and return it.
This overload outputs a nullable DateTime.
|