<?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: Interesting LINQ side affect, Pass in empty List&lt;int&gt; using Contains and Get Where 0 == 1. Hmm</title>
	<atom:link href="http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/</link>
	<description>Microsoft Focussed, JavaScript (ExtJS, SenchaTouch &#38; Windows 8 Metro)</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cruz Davolt</title>
		<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/comment-page-1/#comment-30533</link>
		<dc:creator>Cruz Davolt</dc:creator>
		<pubDate>Fri, 02 Sep 2011 23:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/#comment-30533</guid>
		<description>http://www.timeforremodelling.com/how-to-remodel-a-basement-basement-remodeling-drywall</description>
		<content:encoded><![CDATA[<p><a href="http://www.timeforremodelling.com/how-to-remodel-a-basement-basement-remodeling-drywall">http://www.timeforremodelling.com/how-to-remodel-a-basement-basement-remodeling-drywall</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gunteman</title>
		<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/comment-page-1/#comment-24957</link>
		<dc:creator>gunteman</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/#comment-24957</guid>
		<description>@peter: OK! 

@Damien: I&#039;m not sure I follow..</description>
		<content:encoded><![CDATA[<p>@peter: OK! </p>
<p>@Damien: I&#8217;m not sure I follow..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Guard</title>
		<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/comment-page-1/#comment-24951</link>
		<dc:creator>Damien Guard</dc:creator>
		<pubDate>Tue, 16 Jun 2009 00:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/#comment-24951</guid>
		<description>Whenever you see 1=0 in the TSQL LINQ to SQL generates it means it believes you are testing something that can&#039;t be nullable with something that must be nullable...

[)amien</description>
		<content:encoded><![CDATA[<p>Whenever you see 1=0 in the TSQL LINQ to SQL generates it means it believes you are testing something that can&#8217;t be nullable with something that must be nullable&#8230;</p>
<p>[)amien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter kellner</title>
		<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/comment-page-1/#comment-24950</link>
		<dc:creator>peter kellner</dc:creator>
		<pubDate>Mon, 15 Jun 2009 22:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/#comment-24950</guid>
		<description>yes, I agree LINQ handles it correctly.  It just tricked me some so I thought i&#039;d post it in case someone else runs into the same issue.  It&#039;s certainly not obvious.</description>
		<content:encoded><![CDATA[<p>yes, I agree LINQ handles it correctly.  It just tricked me some so I thought i&#8217;d post it in case someone else runs into the same issue.  It&#8217;s certainly not obvious.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gunteman</title>
		<link>http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/comment-page-1/#comment-24949</link>
		<dc:creator>gunteman</dc:creator>
		<pubDate>Mon, 15 Jun 2009 22:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://peterkellner.net/2009/06/14/linq2sql-gotcha-generic-list/#comment-24949</guid>
		<description>I think Linq2Sql handles it correctly. The only other way of handling it would be to not execute the query at all, since it will never return anything, but I don&#039;t think we can expect that since

1. The absence of a query execution could indicate a problem
2. The query may be a subquery
3. It&#039;s not up to the Linq2Sql provider to perform any query logic

SQL Server will see that the query can&#039;t return any results, so there will be exactly zero I/O cost.</description>
		<content:encoded><![CDATA[<p>I think Linq2Sql handles it correctly. The only other way of handling it would be to not execute the query at all, since it will never return anything, but I don&#8217;t think we can expect that since</p>
<p>1. The absence of a query execution could indicate a problem<br />
2. The query may be a subquery<br />
3. It&#8217;s not up to the Linq2Sql provider to perform any query logic</p>
<p>SQL Server will see that the query can&#8217;t return any results, so there will be exactly zero I/O cost.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 5/22 queries in 0.047 seconds using disk

Served from: peterkellner.net @ 2012-02-10 05:53:31 -->
