<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Handling Recursive Relates with SubSonic and LINQ</title>
	<atom:link href="http://briannoyle.wordpress.com/2009/01/14/handling-recursive-relates-with-subsonic-and-linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://briannoyle.wordpress.com/2009/01/14/handling-recursive-relates-with-subsonic-and-linq/</link>
	<description>Rants on GIS, .NET, and life in general</description>
	<lastBuildDate>Mon, 21 Sep 2009 12:56:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: homebrutrout</title>
		<link>http://briannoyle.wordpress.com/2009/01/14/handling-recursive-relates-with-subsonic-and-linq/#comment-172</link>
		<dc:creator>homebrutrout</dc:creator>
		<pubDate>Fri, 16 Jan 2009 17:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://briannoyle.wordpress.com/?p=109#comment-172</guid>
		<description>Dylan,

Good catch.  Probably not appropriate at all for large data pulls.  Basically this solution works well for us because there will be three to 5 parent menus each with 3-5 items and no users (admin or otherwise) can edit those settings.  I just wanted the schema in place for use elsewhere or otherwise I wouldn&#039;t even pull it from the DB in favor of an XML in the web project.  CTEs are an excellent choice in your case because it keeps the load in the DB where it belongs...and where the optimization for such things is.

We have a similar scenario for &quot;project&quot; related records which can return many thousands of records...for that we are using your CTE solution via an SP...the first option I mentioned above.</description>
		<content:encoded><![CDATA[<p>Dylan,</p>
<p>Good catch.  Probably not appropriate at all for large data pulls.  Basically this solution works well for us because there will be three to 5 parent menus each with 3-5 items and no users (admin or otherwise) can edit those settings.  I just wanted the schema in place for use elsewhere or otherwise I wouldn&#8217;t even pull it from the DB in favor of an XML in the web project.  CTEs are an excellent choice in your case because it keeps the load in the DB where it belongs&#8230;and where the optimization for such things is.</p>
<p>We have a similar scenario for &#8220;project&#8221; related records which can return many thousands of records&#8230;for that we are using your CTE solution via an SP&#8230;the first option I mentioned above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dylan</title>
		<link>http://briannoyle.wordpress.com/2009/01/14/handling-recursive-relates-with-subsonic-and-linq/#comment-171</link>
		<dc:creator>Dylan</dc:creator>
		<pubDate>Fri, 16 Jan 2009 03:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://briannoyle.wordpress.com/?p=109#comment-171</guid>
		<description>Nice find on the hierarchy building. I still think it&#039;s highly dependent upon the size of the dataset and the environment in which you are using the final data. For example today I had to crunch 14K records in to a hierarchy - needless to say I didn&#039;t want to grab all that data from the server and LINQ-ify it so I just went with a CTE than ran in under 1 second. 

I prefer one large hit to the database vs. tens or hundreds of smaller ones (even AJAX-y) to respond to user actions just like you do, so I suppose there&#039;s a place for both CTEs and LINQ hierarchies.

Nice post.</description>
		<content:encoded><![CDATA[<p>Nice find on the hierarchy building. I still think it&#8217;s highly dependent upon the size of the dataset and the environment in which you are using the final data. For example today I had to crunch 14K records in to a hierarchy &#8211; needless to say I didn&#8217;t want to grab all that data from the server and LINQ-ify it so I just went with a CTE than ran in under 1 second. </p>
<p>I prefer one large hit to the database vs. tens or hundreds of smaller ones (even AJAX-y) to respond to user actions just like you do, so I suppose there&#8217;s a place for both CTEs and LINQ hierarchies.</p>
<p>Nice post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
