<?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 : Coroutine and navigation property retrieval</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Coroutine and navigation property retrieval</description>
  <pubDate>Mon, 13 Apr 2026 12:34:28 -700</pubDate>
  <lastBuildDate>Thu, 28 Jul 2011 11:12:18 -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=2853</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>Coroutine and navigation property retrieval :   Unfortunately there&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11325#11325</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> 2853<br /><strong>Posted:</strong> 28-Jul-2011 at 11:12am<br /><br />Unfortunately there's no sugar coated solution within DevForce itself :).&nbsp; I'm not sure why the PendingEntity resolution doesn't implement INotifyCompleted, but another option, albeit with even more work than the above, is to create your own "Operation" class which implements INotifyCompleted and wraps the retrieval and event handling for the pending entity.&nbsp; There are a few examples of custom operations in the IdeaBlade Application Framework available at <a href="http://devforcecaliburn.codeplex.com/" target="_blank">http://devforcecaliburn.codeplex.com/</a>, specifically the XapDownloadOperation there is a good example of a custom operation.]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 11:12:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11325#11325</guid>
  </item> 
  <item>
   <title>Coroutine and navigation property retrieval : Hi,  unfortunately I cannot...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11321#11321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1222" rel="nofollow">JoschaMetze</a><br /><strong>Subject:</strong> 2853<br /><strong>Posted:</strong> 28-Jul-2011 at 8:21am<br /><br /><p>Hi,</p><p>unfortunately I cannot use Include as the Entity is queried in another place where I don't know if I will need my navigation property (and even worse, with an EntityKeyQuery).</p><p>Of course I could use a Query but that was what I was trying to avoid in the first place cause it seems rather unclean as I am coupling my entities in code and need to have knowledge of the child/parent relationship. </p><p>I wouldn't even need a navigation property for that, so the short answer would be no navigation properties in coroutines without making assumptions about them being fetched beforehand.</p><p>But I will have to stick to that if there is no sugar coat solution :).</p><p>Thanks and regards</p><p>Joscha</p>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 08:21:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11321#11321</guid>
  </item> 
  <item>
   <title>Coroutine and navigation property retrieval : Could you use an Include in your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11320#11320</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> 2853<br /><strong>Posted:</strong> 28-Jul-2011 at 8:11am<br /><br />Could you use an Include in your original query?<br><br>Or could you do something like this in your other coroutine?<br><br>EntityQuery&lt;EntityB&gt;.Where(b =&gt; b.EntityAId = 123)<br><br>This will bring it into cache so you can then do A.B<br>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 08:11:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11320#11320</guid>
  </item> 
  <item>
   <title>Coroutine and navigation property retrieval : Hi folks,  is there a way to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11317#11317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1222" rel="nofollow">JoschaMetze</a><br /><strong>Subject:</strong> 2853<br /><strong>Posted:</strong> 28-Jul-2011 at 1:47am<br /><br /><p>Hi folks,</p><p>is there a way to retrieve a pending navigation property entity in a coroutine without just requerying the entity itself?</p><p>My situation is the following:</p><p>Entity A has a navigation property B</p><p>Entity A is loaded and property B is needed inside a serial coroutine.</p><p>I didn't find any method to return the necessary &nbsp;IEnumerable&lt;INotifyCompleted&gt; for my navigation property. Using the PendingEntityResolved event doesn't help much in a coroutine as it breaks the serial flow.</p><p>Any ideas?</p><p>Kind regards</p><p>Joscha</p>]]>
   </description>
   <pubDate>Thu, 28 Jul 2011 01:47:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2853&amp;PID=11317#11317</guid>
  </item> 
 </channel>
</rss>