<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Cache Issue</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Cache Issue</description>
  <pubDate>Sat, 11 Apr 2026 04:54:07 -700</pubDate>
  <lastBuildDate>Thu, 09 Jul 2009 12:47:09 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1367</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Cache Issue : Please disregard my question --...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1367&amp;PID=4931#4931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=468" rel="nofollow">burrowsUW</a><br /><strong>Subject:</strong> 1367<br /><strong>Posted:</strong> 09-Jul-2009 at 12:47pm<br /><br />Please disregard my question -- I figured it out and it was one of those dumb things and my error.<DIV>&nbsp;</DIV><DIV>bill</DIV>]]>
   </description>
   <pubDate>Thu, 09 Jul 2009 12:47:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1367&amp;PID=4931#4931</guid>
  </item> 
  <item>
   <title>Cache Issue : Hi,  I have the following code:  ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1367&amp;PID=4921#4921</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=468" rel="nofollow">burrowsUW</a><br /><strong>Subject:</strong> 1367<br /><strong>Posted:</strong> 08-Jul-2009 at 12:04pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have the following code:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub LoadData()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim prodQuery = theManager.Products</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If theStatus Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theStatus = New StatusInfo<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theStatus.IsCached = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prodQuery.QueryStrategy = QueryStrategy.DataSourceOnly<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prodQuery.QueryStrategy = QueryStrategy.CacheOnly<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theManager.ExecuteQueryAsync(prodQuery, AddressOf OnProductLoaded, Nothing)</DIV><DIV><BR>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;&nbsp;&nbsp; Private Sub OnProductLoaded(ByVal args As EntityFetchedEventArgs)<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; productGrid.ItemsSource = args.Result<BR><BR>&nbsp;&nbsp;&nbsp; End Sub</DIV><DIV>&nbsp;</DIV><DIV>The object reference "theStatus" is working correctly and getting me to the correct QueryStatus code in the If block, but regardless, the application goes to the Server (DataSource) regardless of the QueryStrategy setting.</DIV><DIV>&nbsp;</DIV><DIV>I assume I am missing something fundamental and could use some help.</DIV><DIV>&nbsp;</DIV><DIV>Thanks ... bill</DIV>]]>
   </description>
   <pubDate>Wed, 08 Jul 2009 12:04:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1367&amp;PID=4921#4921</guid>
  </item> 
 </channel>
</rss>