<?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: Handling of Nulls in Entity Framework</title> <atom:link href="http://quickduck.com/blog/2010/04/24/handling-of-nulls-in-entity-framework/feed/" rel="self" type="application/rss+xml" /><link>http://quickduck.com/blog/2010/04/24/handling-of-nulls-in-entity-framework/</link> <description>Straight from the mind of geniuseseses....</description> <lastBuildDate>Thu, 26 Jan 2012 20:48:40 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Drew</title><link>http://quickduck.com/blog/2010/04/24/handling-of-nulls-in-entity-framework/comment-page-1/#comment-12019</link> <dc:creator>Drew</dc:creator> <pubDate>Wed, 30 Jun 2010 23:24:47 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=270#comment-12019</guid> <description>I still get the same sql output for both .equals and == when you using a string variable set to null Lee. What does sql profiler say for you?</description> <content:encoded><![CDATA[<p>I still get the same sql output for both .equals and == when you using a string variable set to null Lee. What does sql profiler say for you?</p> ]]></content:encoded> </item> <item><title>By: Lee Oades</title><link>http://quickduck.com/blog/2010/04/24/handling-of-nulls-in-entity-framework/comment-page-1/#comment-12006</link> <dc:creator>Lee Oades</dc:creator> <pubDate>Wed, 09 Jun 2010 15:44:15 +0000</pubDate> <guid isPermaLink="false">http://quickduck.com/blog/?p=270#comment-12006</guid> <description>This is a gotcha for sure. I believe that you can do this:var query = context.Orders.Where(o=&gt;object.Equals(o.Customer.Address.Country, country));and this will work when country is both null and has a value.</description> <content:encoded><![CDATA[<p>This is a gotcha for sure. I believe that you can do this:</p><p>var query = context.Orders.Where(o=&gt;object.Equals(o.Customer.Address.Country, country));</p><p>and this will work when country is both null and has a value.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: quickduck.com @ 2012-02-08 15:32:40 -->
