<?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: How to use &quot;IS NULL&quot; with LINQ to SQL</title>
	<atom:link href="http://goneale.com/2008/12/11/how-to-use-is-null-with-linq-to-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://goneale.com/2008/12/11/how-to-use-is-null-with-linq-to-sql/</link>
	<description>Graham O&#039;Neale – Deep In .NET Development: ASP.NET, MVC, jQuery, WPF, WCF, Silverlight</description>
	<lastBuildDate>Wed, 28 Sep 2011 23:00:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Oleg Putilin</title>
		<link>http://goneale.com/2008/12/11/how-to-use-is-null-with-linq-to-sql/comment-page-1/#comment-20</link>
		<dc:creator>Oleg Putilin</dc:creator>
		<pubDate>Sat, 28 Feb 2009 11:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=32#comment-20</guid>
		<description>To deal with NULL comparisons, simply use object.Equals() comparison rather than ==
e.g.

from o in messageTypeFieldRepository.ReadMessageTypeField()
.Where(x =&gt; nt32.Equals(x.messageTypeID, messageTypeID)

Source:
http://social.msdn.microsoft.com/Forums/en-US/linqtosql/thread/5d21e48c-b1cb-424d-b146-6c2f064df40d/</description>
		<content:encoded><![CDATA[<p>To deal with NULL comparisons, simply use object.Equals() comparison rather than ==<br />
e.g.</p>
<p>from o in messageTypeFieldRepository.ReadMessageTypeField()<br />
.Where(x =&gt; nt32.Equals(x.messageTypeID, messageTypeID)</p>
<p>Source:<br />
<a href="http://social.msdn.microsoft.com/Forums/en-US/linqtosql/thread/5d21e48c-b1cb-424d-b146-6c2f064df40d/" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/linqtosql/thread/5d21e48c-b1cb-424d-b146-6c2f064df40d/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

