DatabaseOpenCachedTable Method (String, String) |
Opens a new DataSet and returns the first DataTable, retrieving it from the cache
if it is cached. If the object is not cached, it is opened from the datasource and
added to the global cache.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public DataTable OpenCachedTable(
string source,
string cacheName
)
Public Function OpenCachedTable (
source As String,
cacheName As String
) As DataTable
Parameters
- source
- Type: SystemString
The SQL string to run on the datasource. - cacheName
- Type: SystemString
The name to use to cache the object in the global cache.
Return Value
Type:
DataTableThe populated data table.
Implements
IDatabaseOpenCachedTable(String, String)See Also