Print Page | Close Window

QueryStrategy.DataSource does not call server

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1432
Printed Date: 01-Sep-2025 at 1:52am


Topic: QueryStrategy.DataSource does not call server
Posted By: rasmus
Subject: QueryStrategy.DataSource does not call server
Date Posted: 19-Aug-2009 at 4:29pm
Hi
 
I have the following problem when Querying the BOS:
 
1. First Query when the client starts up, it queries a a entitycollection, and returns the collection correctly to the server (using QueryStrategy.DataSource)
2. I then manually alter the entities in the DB
3. From the client the same query is executed, using QueryStrategy.DataSource, but the server is not queried, and the result of the query is the same . Using the trace viewer I can se the call is not even hitting the server; it seems the cache is queried.
 
Is this behavior correct, or am I missing something?



Replies:
Posted By: rasmus
Date Posted: 21-Aug-2009 at 2:50pm
This seems to have worked itself out after a reboot of the PC. Now QueryStrategy.DataSource always calls the server :-)



Print Page | Close Window