New Posts New Posts RSS Feed: QueryStrategy.DataSource does not call server
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

QueryStrategy.DataSource does not call server

 Post Reply Post Reply
Author
rasmus View Drop Down
Groupie
Groupie


Joined: 05-Aug-2009
Location: Denmark
Posts: 63
Post Options Post Options   Quote rasmus Quote  Post ReplyReply Direct Link To This Post Topic: QueryStrategy.DataSource does not call server
    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?
Back to Top
rasmus View Drop Down
Groupie
Groupie


Joined: 05-Aug-2009
Location: Denmark
Posts: 63
Post Options Post Options   Quote rasmus Quote  Post ReplyReply Direct Link To This Post 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 :-)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down