<?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 : GlobalCache</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : GlobalCache</description>
  <pubDate>Sat, 11 Apr 2026 07:36:11 -700</pubDate>
  <lastBuildDate>Fri, 01 Mar 2013 09:30:51 -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=4015</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>GlobalCache : OK, never mind.  I was getting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4015&amp;PID=15937#15937</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 4015<br /><strong>Posted:</strong> 01-Mar-2013 at 9:30am<br /><br />OK, never mind.  I was getting the default UOW instead of the one for the particular contact.  In other words, the first line should be:<br /><br />var unitOfWork = _unitOfWorkManager.Get(contactId);<br /><br />Greg<br /><br />]]>
   </description>
   <pubDate>Fri, 01 Mar 2013 09:30:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4015&amp;PID=15937#15937</guid>
  </item> 
  <item>
   <title>GlobalCache : In LoadDataAsync of ContactAddressListViewModel,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4015&amp;PID=15936#15936</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 4015<br /><strong>Posted:</strong> 01-Mar-2013 at 9:26am<br /><br />In LoadDataAsync of ContactAddressListViewModel, there is this code:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  var unitOfWork = _unitOfWorkManager.Get(0);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  var states = await unitOfWork.States.AllAsync(q =&gt; q.OrderBy(s =&gt; s.Name));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  StateEntities = new BindableCollection&lt;StateEntity&gt;(states);<br /><br />It runs, but states are always empty.  But if I look in the debugger and expand out the UnitOfWork to the entity manager, it shows that the States are in fact there.<br /><br />In the GlobalCache, the states are loading up:<br /><br />EntityManager.StateEntities.ExecuteAsync()<br /><br />So I am not sure what the deal is.  If I try to get any of the other types from the GlobalCache, the result is the same - zero entities.  Of course it works fine in TempHire :)]]>
   </description>
   <pubDate>Fri, 01 Mar 2013 09:26:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4015&amp;PID=15936#15936</guid>
  </item> 
 </channel>
</rss>