<?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 : Inserted Item not Updating</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Inserted Item not Updating</description>
  <pubDate>Wed, 13 May 2026 00:14:08 -700</pubDate>
  <lastBuildDate>Tue, 25 Jan 2011 05:40:43 -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=2454</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>Inserted Item not Updating : Great info. Thanks for your replies!...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9775#9775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 25-Jan-2011 at 5:40am<br /><br />Great info. Thanks for your replies!]]>
   </description>
   <pubDate>Tue, 25 Jan 2011 05:40:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9775#9775</guid>
  </item> 
  <item>
   <title>Inserted Item not Updating : I should have added that when...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9768#9768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 24-Jan-2011 at 12:34pm<br /><br />I should have added that when QueryStrategy.Normal is used, if a query has been seen before DevForce will assume that the next time the query is run it can be satisfied entirely&nbsp;from cache.&nbsp; smi-mark is correct that to override this behavior you can use&nbsp;QueryStrategy.DataSourceOnly.&nbsp; Here's more information on the subject - <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/EntityCaching" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/EntityCaching</A>.]]>
   </description>
   <pubDate>Mon, 24 Jan 2011 12:34:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9768#9768</guid>
  </item> 
  <item>
   <title>Inserted Item not Updating : If you always want to go back...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9763#9763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 23-Jan-2011 at 11:15am<br /><br />If you always want to go back to the SQL Server for this query, try changing:<br><pre style="font-family: c&#111;nsolas;"><span style="color: blue;">var</span>&nbsp;query&nbsp;=&nbsp;Mgr.Widgets.Where(a&nbsp;=&gt;&nbsp;a.UserID&nbsp;==&nbsp;<font color="#2b91af">Current</font>UserID);<br><br>to<br><br><span style="color: blue;">var</span>&nbsp;query&nbsp;=&nbsp;Mgr.Widgets.Where(a&nbsp;=&gt;&nbsp;a.UserID&nbsp;==&nbsp;<font color="#2b91af">Current</font>UserID).With(QueryStrategy.DataSourceOnly);<br></pre><br>]]>
   </description>
   <pubDate>Sun, 23 Jan 2011 11:15:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9763#9763</guid>
  </item> 
  <item>
   <title>Inserted Item not Updating : Hasthe em.DefaultQueryStrategy...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9756#9756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 22-Jan-2011 at 9:05pm<br /><br />Has&nbsp;the em.DefaultQueryStrategy been set to CacheOnly?]]>
   </description>
   <pubDate>Sat, 22 Jan 2011 21:05:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9756#9756</guid>
  </item> 
  <item>
   <title>Inserted Item not Updating : Any ideas or suggestions as to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9753#9753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 22-Jan-2011 at 3:25pm<br /><br />Any ideas or suggestions as to where this might be failing?]]>
   </description>
   <pubDate>Sat, 22 Jan 2011 15:25:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9753#9753</guid>
  </item> 
  <item>
   <title>Inserted Item not Updating : An interesting problem...  When...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9725#9725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2454<br /><strong>Posted:</strong> 20-Jan-2011 at 5:53am<br /><br />An interesting problem...<DIV>&nbsp;</DIV><DIV>When first loading a page, I call the GetWidgets Method to and bind the reults as an item source of a combo box. Works fine.</DIV><DIV>If i then add&nbsp;a widget&nbsp;to the database by any method (even through SQL Management studio) and execute my query again, it does not find the new item added.</DIV><DIV>&nbsp;</DIV><DIV>This is my GetWidgets Method</DIV><DIV>&nbsp;</DIV><DIV><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">public</SPAN>&nbsp;<SPAN style="COLOR: blue">void</SPAN>&nbsp;GetWidgets()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IsBusy&nbsp;=&nbsp;<SPAN style="COLOR: blue">true</SPAN>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WidgetsList.Clear();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">var</SPAN>&nbsp;query&nbsp;=&nbsp;Mgr.Widgets.Where(a&nbsp;=&gt;&nbsp;a.UserID&nbsp;==&nbsp;<FONT color=#2b91af>Current</FONT>UserID);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query.ExecuteAsync(op&nbsp;=&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&n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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IsBusy&nbsp;=&nbsp;<SPAN style="COLOR: blue">false</SPAN>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</PRE></DIV>]]>
   </description>
   <pubDate>Thu, 20 Jan 2011 05:53:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2454&amp;PID=9725#9725</guid>
  </item> 
 </channel>
</rss>