<?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 : Eager Loading Entire Graph</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Eager Loading Entire Graph</description>
  <pubDate>Sat, 11 Apr 2026 14:00:54 -700</pubDate>
  <lastBuildDate>Mon, 23 Aug 2010 18:27:22 -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=2085</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>Eager Loading Entire Graph : Hi Matt,  The code should look...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2085&amp;PID=8152#8152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2085<br /><strong>Posted:</strong> 23-Aug-2010 at 6:27pm<br /><br /><DIV>Hi Matt,</DIV><DIV>&nbsp;</DIV><DIV>The code should look like this:</DIV><DIV>&nbsp;</DIV><DIV>entityManager.Deals.Where(...)<BR>&nbsp; .Include("DealVersions")<BR>&nbsp; .Include("DealVersions.PriceGroups")</DIV><DIV>&nbsp; .Include("DealVersions.PriceGroups.PriceItems")</DIV><DIV><DIV>&nbsp; .Include("DealVersions.PriceGroups.PriceItems.Products")</DIV><DIV>&nbsp;</DIV><DIV>The first path can also be written in a strongly typed manner:</DIV><DIV>&nbsp; .Include(Deals.PathFor(deal =&gt; deal.DealVersions))</DIV><DIV>&nbsp;</DIV><DIV>However, this doesn't work when navigating through collections, so you have to do the rest by string.</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 23 Aug 2010 18:27:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2085&amp;PID=8152#8152</guid>
  </item> 
  <item>
   <title>Eager Loading Entire Graph : Hello,  Is there a way to easily...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2085&amp;PID=8151#8151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=889" rel="nofollow">mdcalhoun</a><br /><strong>Subject:</strong> 2085<br /><strong>Posted:</strong> 23-Aug-2010 at 1:48pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Is there a way to easily load the entire entity graph for a specific object?</DIV><DIV>&nbsp;</DIV><DIV>For example,</DIV><DIV>&nbsp;</DIV><DIV>Deal has N Deal Versions. </DIV><DIV>Deal Version has N Price Groups.</DIV><DIV>Price Group has N Price Items.</DIV><DIV>Price Item has N Products</DIV><DIV>&nbsp;</DIV><DIV>I'd like to do a single query for a deal&nbsp;that brings back Deal and all children (Version, Price Group, Price Item).</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Matt</DIV>]]>
   </description>
   <pubDate>Mon, 23 Aug 2010 13:48:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2085&amp;PID=8151#8151</guid>
  </item> 
 </channel>
</rss>