<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PrefetchPaths in Depth</title>
	<atom:link href="http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/</link>
	<description>My 2cents on LLBLGen world</description>
	<lastBuildDate>Wed, 27 Jan 2010 21:20:30 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Elizondo</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-576</link>
		<dc:creator>David Elizondo</dc:creator>
		<pubDate>Wed, 27 Jan 2010 21:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-576</guid>
		<description>@Neil, If you want to filter on the root (for instance, filter the order), simply use the &quot;where&quot; clause on the main linq query. If you want to filter on the prefetchpath (for instance, filter the orderDetails of the order) you should use the &quot;.Where&quot; of the PathEdge. See the http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/#filteringandsorting code snippet for lamdas.</description>
		<content:encoded><![CDATA[<p>@Neil, If you want to filter on the root (for instance, filter the order), simply use the &#8220;where&#8221; clause on the main linq query. If you want to filter on the prefetchpath (for instance, filter the orderDetails of the order) you should use the &#8220;.Where&#8221; of the PathEdge. See the <a href="http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/#filteringandsorting" rel="nofollow">http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/#filteringandsorting</a> code snippet for lamdas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Burnett</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-568</link>
		<dc:creator>Neil Burnett</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-568</guid>
		<description>Thanks for the article. I wonder if you could add a Linq with Lamda expressions example to the common mistake &quot;Filter on PrefetchPath expecting to filter on the root&quot;? I have been trying for a while but can&#039;t get it right. Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for the article. I wonder if you could add a Linq with Lamda expressions example to the common mistake &#8220;Filter on PrefetchPath expecting to filter on the root&#8221;? I have been trying for a while but can&#8217;t get it right. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Elizondo</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-162</link>
		<dc:creator>David Elizondo</dc:creator>
		<pubDate>Fri, 20 Nov 2009 23:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-162</guid>
		<description>@Sebastian. If you know upfront the number of levels that you want to prefetch, you can specify a prefetchPath with SubPaths to the number of levels you want. If you don&#039;t, that&#039;s no possible, it&#039;s wise you to return first the n levels you want. If you cant, the best option I can think is use a stored procedure that perform a recursive query and return results, then in your code you can use projections to project the results into LLBLGen entities.</description>
		<content:encoded><![CDATA[<p>@Sebastian. If you know upfront the number of levels that you want to prefetch, you can specify a prefetchPath with SubPaths to the number of levels you want. If you don&#8217;t, that&#8217;s no possible, it&#8217;s wise you to return first the n levels you want. If you cant, the best option I can think is use a stored procedure that perform a recursive query and return results, then in your code you can use projections to project the results into LLBLGen entities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SebastiÃ¡n Carrozzo</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-161</link>
		<dc:creator>SebastiÃ¡n Carrozzo</dc:creator>
		<pubDate>Fri, 20 Nov 2009 18:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-161</guid>
		<description>Excelent article. I didnÂ´t know of the prefetch subpath...

Do you know of a way to do recursive prefetchs?

LetÂ´s suppose thereÂ´s a tabla Person with PersonID with a recursive relation using ParentID as itÂ´s own FK. What I would like to do is to get a Person and get itÂ´s father and itÂ´s grandfather and also his great grandfather and so.

I know I could add a prefetch path to the Person to get his father and a subpath to get his grandfather, but the idea is that I donÂ´t know the depth of the recursive paths.</description>
		<content:encoded><![CDATA[<p>Excelent article. I didnÂ´t know of the prefetch subpath&#8230;</p>
<p>Do you know of a way to do recursive prefetchs?</p>
<p>LetÂ´s suppose thereÂ´s a tabla Person with PersonID with a recursive relation using ParentID as itÂ´s own FK. What I would like to do is to get a Person and get itÂ´s father and itÂ´s grandfather and also his great grandfather and so.</p>
<p>I know I could add a prefetch path to the Person to get his father and a subpath to get his grandfather, but the idea is that I donÂ´t know the depth of the recursive paths.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Elizondo</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-91</link>
		<dc:creator>David Elizondo</dc:creator>
		<pubDate>Fri, 16 Oct 2009 00:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-91</guid>
		<description>@Alex. Indeed, I forgot to mention that as those are edge cases. Anyway, these are some scenarios where you could have troubles:

Trailing spaces: http://llblgen.com/tinyforum/Messages.aspx?ThreadID=9941
CaseSensitiveCollation: http://llblgen.com/tinyforum/Messages.aspx?ThreadID=14574

I linked the threads with the solution.</description>
		<content:encoded><![CDATA[<p>@Alex. Indeed, I forgot to mention that as those are edge cases. Anyway, these are some scenarios where you could have troubles:</p>
<p>Trailing spaces: <a href="http://llblgen.com/tinyforum/Messages.aspx?ThreadID=9941" rel="nofollow">http://llblgen.com/tinyforum/Messages.aspx?ThreadID=9941</a><br />
CaseSensitiveCollation: <a href="http://llblgen.com/tinyforum/Messages.aspx?ThreadID=14574" rel="nofollow">http://llblgen.com/tinyforum/Messages.aspx?ThreadID=14574</a></p>
<p>I linked the threads with the solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Walker</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-90</link>
		<dc:creator>Alex Walker</dc:creator>
		<pubDate>Thu, 15 Oct 2009 21:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-90</guid>
		<description>Have you ever seen a case where some entities that are being prefetched are not included, but some are?</description>
		<content:encoded><![CDATA[<p>Have you ever seen a case where some entities that are being prefetched are not included, but some are?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-87</link>
		<dc:creator>Andrea</dc:creator>
		<pubDate>Thu, 15 Oct 2009 03:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-87</guid>
		<description>Congrats on the great effort! You are doing a great job indeed! ;o)</description>
		<content:encoded><![CDATA[<p>Congrats on the great effort! You are doing a great job indeed! ;o)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention LLBLGen'ing Â» Blog Archive Â» PrefetchPaths in Depth -- Topsy.com</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-68</link>
		<dc:creator>Tweets that mention LLBLGen'ing Â» Blog Archive Â» PrefetchPaths in Depth -- Topsy.com</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-68</guid>
		<description>[...] This post was mentioned on Twitter by Mohamed Meligy. Mohamed Meligy said: Compare my beloved LLBLGen Prefetch(exists for sometime) -AKA Deep Loading- to Entity framework Includes(even EF 4) http://bit.ly/Ct2ah #ORM [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Mohamed Meligy. Mohamed Meligy said: Compare my beloved LLBLGen Prefetch(exists for sometime) -AKA Deep Loading- to Entity framework Includes(even EF 4) <a href="http://bit.ly/Ct2ah" rel="nofollow">http://bit.ly/Ct2ah</a> #ORM [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frans Bouma</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-67</link>
		<dc:creator>Frans Bouma</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-67</guid>
		<description>I&#039;ve added a link to this whole site on the main site to begin with, so people can find it more easily.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added a link to this whole site on the main site to begin with, so people can find it more easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Sandler</title>
		<link>http://www.llblgening.com/archive/2009/10/prefetchpaths-in-depth/comment-page-1/#comment-66</link>
		<dc:creator>Phil Sandler</dc:creator>
		<pubDate>Thu, 01 Oct 2009 14:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.llblgening.com/?p=152#comment-66</guid>
		<description>Fantastic!  This post will be required reading for everyone who is getting up to speed on LLBLGen in our company.

You should link to this from the docs, or make it part of the docs.  It covers every single gotcha I can think of.</description>
		<content:encoded><![CDATA[<p>Fantastic!  This post will be required reading for everyone who is getting up to speed on LLBLGen in our company.</p>
<p>You should link to this from the docs, or make it part of the docs.  It covers every single gotcha I can think of.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
