| IDatabaseOpenCachedTable Method (String, String, String, Boolean) | 
 
            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
SyntaxDataTable OpenCachedTable(
	string source,
	string cacheName,
	string logSource,
	bool flushBeforeOpen
)
Function OpenCachedTable ( 
	source As String,
	cacheName As String,
	logSource As String,
	flushBeforeOpen As Boolean
) 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.
- logSource
- Type: SystemString
 The source of the operation, to be logged to the devlog.
- flushBeforeOpen
- Type: SystemBoolean
 If true, forces the cached object to be removed and then reloaded from the source.
Return Value
Type: 
DataTableThe populated data table.
 See Also
See Also