IdeaBlade DevForce 2010 Help Reference
Clear Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > QueryCache Class : Clear Method



Clears the query cache.

Syntax

Visual Basic (Declaration) 
Public Sub Clear() 
Visual Basic (Usage)Copy Code
Dim instance As QueryCache
 
instance.Clear()
C# 
public void Clear()
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.