<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: IQueryable&#60;T&#62; vs. IEnumerable&#60;T&#62; in LINQ to SQL queries</title>
	<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/</link>
	<description>Works on my machine</description>
	<pubDate>Thu, 04 Dec 2008 00:47:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: Matt Casto</title>
		<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2215</link>
		<author>Matt Casto</author>
		<pubDate>Sat, 20 Oct 2007 11:37:30 +0000</pubDate>
		<guid>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2215</guid>
					<description>I wonder what the result would be if you did something like:

    var list = dc.Products.Where(p =&#62; p.ProductName.StartsWith("A"));

I'm not near any computers with Visual Studio installed on them this weekend, so I'll have to wait until next week to try it out.</description>
		<content:encoded><![CDATA[<p>I wonder what the result would be if you did something like:</p>
<p>    var list = dc.Products.Where(p =&gt; p.ProductName.StartsWith(&#8221;A&#8221;));</p>
<p>I&#8217;m not near any computers with Visual Studio installed on them this weekend, so I&#8217;ll have to wait until next week to try it out.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jon</title>
		<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2219</link>
		<author>Jon</author>
		<pubDate>Sat, 20 Oct 2007 17:00:15 +0000</pubDate>
		<guid>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2219</guid>
					<description>I tried it and it worked (I got the "TOP 10").</description>
		<content:encoded><![CDATA[<p>I tried it and it worked (I got the &#8220;TOP 10&#8243;).</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: WebGyver</title>
		<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2814</link>
		<author>WebGyver</author>
		<pubDate>Thu, 20 Dec 2007 18:00:41 +0000</pubDate>
		<guid>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2814</guid>
					<description>Wow! Awesome stuff. I'm nowhere near the level you guys are on, of course, but I have learned a lot from reading through &#38; working through your examples.

However, I was wondering if you could enlighten me a little bit about the problems that I would encounter with LINQ (at this point in time) as far as working with SQL Server?

To be more specific, I'm faced with rewriting a legacy application, and we've done a ton of development with Stored Procedures in the past. Is LINQ really going to make my life easier (in 2008)?

What are the most obvious problems — if any — that I would have to deal with? Links? Ideas? Suggestions?</description>
		<content:encoded><![CDATA[<p>Wow! Awesome stuff. I&#8217;m nowhere near the level you guys are on, of course, but I have learned a lot from reading through &amp; working through your examples.</p>
<p>However, I was wondering if you could enlighten me a little bit about the problems that I would encounter with LINQ (at this point in time) as far as working with SQL Server?</p>
<p>To be more specific, I&#8217;m faced with rewriting a legacy application, and we&#8217;ve done a ton of development with Stored Procedures in the past. Is LINQ really going to make my life easier (in 2008)?</p>
<p>What are the most obvious problems — if any — that I would have to deal with? Links? Ideas? Suggestions?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jon Kruger</title>
		<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2815</link>
		<author>Jon Kruger</author>
		<pubDate>Fri, 21 Dec 2007 02:45:35 +0000</pubDate>
		<guid>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-2815</guid>
					<description>WebGyver-

I'm in a similar situation as you in that I was rewriting a legacy application.  I have been very impressed with LINQ to SQL and I would highly recommend it.  We are working with a legacy database (SQL Server 2005) that has some really unusual stuff in it, and LINQ to SQL has been able to handle it all.

IMO, if you want to get all of the benefits out of LINQ to SQL (or any ORM for that matter), I would try and get away from the stored procedures and allow LINQ to SQL to handle all the work.  LINQ to SQL will optimize all of the queries for you, and if you do have a situation where you need to use stored procs, LINQ to SQL can wrap those nicely for you so that  calling the stored proc is as easy as calling a method.

Good luck!

Jon</description>
		<content:encoded><![CDATA[<p>WebGyver-</p>
<p>I&#8217;m in a similar situation as you in that I was rewriting a legacy application.  I have been very impressed with LINQ to SQL and I would highly recommend it.  We are working with a legacy database (SQL Server 2005) that has some really unusual stuff in it, and LINQ to SQL has been able to handle it all.</p>
<p>IMO, if you want to get all of the benefits out of LINQ to SQL (or any ORM for that matter), I would try and get away from the stored procedures and allow LINQ to SQL to handle all the work.  LINQ to SQL will optimize all of the queries for you, and if you do have a situation where you need to use stored procs, LINQ to SQL can wrap those nicely for you so that  calling the stored proc is as easy as calling a method.</p>
<p>Good luck!</p>
<p>Jon</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: IEnumerable vs IQuerable &#171; Paris Polyzo&#8217;s Weblog</title>
		<link>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-3117</link>
		<author>IEnumerable vs IQuerable &#171; Paris Polyzo&#8217;s Weblog</author>
		<pubDate>Tue, 18 Nov 2008 13:09:39 +0000</pubDate>
		<guid>http://jonkruger.com/blog/2007/10/19/iqueryable-vs-ienumerable-in-linq-to-sql-queries/#comment-3117</guid>
					<description>[...] IEnumerable vs&#160;IQuerable Watch the following article:IEnumerable&#60;T&#62; vs IQueryable&#60;T&#62; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] IEnumerable vs&nbsp;IQuerable Watch the following article:IEnumerable&lt;T&gt; vs IQueryable&lt;T&gt; [&#8230;]</p>
]]></content:encoded>
				</item>
</channel>
</rss>
