Visual Basic (Declaration) | |
---|---|
Public Sub Clear() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As QueryCache instance.Clear() |
C# | |
---|---|
public void Clear() |
C++/CLI | |
---|---|
public: void Clear(); |
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.
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