<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1782534239117433762.post2090764205784438421..comments</id><updated>2012-01-31T09:44:00.001-08:00</updated><category term='Personal'/><category term='Hardware'/><category term='Work'/><category term='Gadgets'/><category term='Hacking'/><category term='Optimus'/><category term='Remodel'/><category term='Scouting'/><category term='Funny'/><category term='.NET'/><category term='SQL Server'/><title type='text'>Comments on Matt on ... Whatever: Null semantics in LINQ to SQL</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.rolpdog.com/feeds/2090764205784438421/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1782534239117433762/2090764205784438421/comments/default'/><link rel='alternate' type='text/html' href='http://blog.rolpdog.com/2007/08/null-semantics-in-linq-to-sql.html'/><author><name>Matt Davis</name><uri>http://www.blogger.com/profile/17235086151166527370</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1782534239117433762.post-4938888937947912288</id><published>2008-03-17T03:54:00.000-07:00</published><updated>2008-03-17T03:54:00.000-07:00</updated><title type='text'>Usually this happens when your Name field is set u...</title><content type='html'>Usually this happens when your Name field is set up as a property. The SQL generator has to be able to translate everything you do in that prop-get to SQL, and it's not terribly smart in that department, so it usually won't try. If you're trying to build partial class behavior on the Name property, you should find another place to hang it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1782534239117433762/2090764205784438421/comments/default/4938888937947912288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1782534239117433762/2090764205784438421/comments/default/4938888937947912288'/><link rel='alternate' type='text/html' href='http://blog.rolpdog.com/2007/08/null-semantics-in-linq-to-sql.html?showComment=1205751240000#c4938888937947912288' title=''/><author><name>Matt Davis</name><uri>http://www.blogger.com/profile/17235086151166527370</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.rolpdog.com/2007/08/null-semantics-in-linq-to-sql.html' ref='tag:blogger.com,1999:blog-1782534239117433762.post-2090764205784438421' source='http://www.blogger.com/feeds/1782534239117433762/posts/default/2090764205784438421' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2008117359'/></entry><entry><id>tag:blogger.com,1999:blog-1782534239117433762.post-3312678723294068734</id><published>2008-02-12T06:11:00.000-08:00</published><updated>2008-02-12T06:11:00.000-08:00</updated><title type='text'>Hi Matt,&lt;br&gt;&lt;br&gt;I have a problem with nullable val...</title><content type='html'>Hi Matt,&lt;BR/&gt;&lt;BR/&gt;I have a problem with nullable values and LINQ. Take a look at the code below:&lt;BR/&gt;&lt;BR/&gt;var query = from person in db.Persons where person.Name == null &lt;BR/&gt;select person;&lt;BR/&gt;&lt;BR/&gt;Here, Person is a class and Name is a string (which can be, of course, null).&lt;BR/&gt;&lt;BR/&gt;This query generates an error:&lt;BR/&gt;The member 'Project1.Person.Name' has no supported translation to SQL.&lt;BR/&gt;&lt;BR/&gt;Any ideas?&lt;BR/&gt;&lt;BR/&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1782534239117433762/2090764205784438421/comments/default/3312678723294068734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1782534239117433762/2090764205784438421/comments/default/3312678723294068734'/><link rel='alternate' type='text/html' href='http://blog.rolpdog.com/2007/08/null-semantics-in-linq-to-sql.html?showComment=1202825460000#c3312678723294068734' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.rolpdog.com/2007/08/null-semantics-in-linq-to-sql.html' ref='tag:blogger.com,1999:blog-1782534239117433762.post-2090764205784438421' source='http://www.blogger.com/feeds/1782534239117433762/posts/default/2090764205784438421' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1357369378'/></entry></feed>
