DevForce Help Reference
Clear Method (QueryCache)


Clears the query cache.
Syntax
'Declaration
 
Public Sub Clear() 
'Usage
 
Dim instance As QueryCache
 
instance.Clear()
public void Clear()
Remarks
This does not remove any Entities from the cache. It simply clears the record of which queries have already been performed.

Clearing the query cache also results in subsequent queries retrieving data from the backend data source instead of cache, because the queries used for cached data are unknown.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

QueryCache Class
QueryCache Members

Send Feedback