<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Linq FirstOrNullEntity Bug?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Linq FirstOrNullEntity Bug?</description>
  <pubDate>Sat, 11 Apr 2026 20:52:32 -700</pubDate>
  <lastBuildDate>Thu, 14 May 2009 18:59:33 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1260</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Linq FirstOrNullEntity Bug? : If the collation defined for the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1260&amp;PID=4540#4540</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1260<br /><strong>Posted:</strong> 14-May-2009 at 6:59pm<br /><br /><P>If the collation defined for the database specifies case sensitivity then that could be causing this error.</P><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 14 May 2009 18:59:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1260&amp;PID=4540#4540</guid>
  </item> 
  <item>
   <title>Linq FirstOrNullEntity Bug? : Hi,  I think there is maybe...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1260&amp;PID=4537#4537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=448" rel="nofollow">francois</a><br /><strong>Subject:</strong> 1260<br /><strong>Posted:</strong> 14-May-2009 at 1:16pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I think there is maybe a bug when I query Guids. I have entities with Guids as primary keys. </DIV><DIV>When I do a FirstOrNullEntity on data&nbsp;in the cache it works fine. But when I do it with data in the SQL Compact DB it fails. </DIV><DIV>&nbsp;</DIV><DIV>e.g. </DIV><DIV>EntityManager.Employees.FirstOrNullEntity(e =&gt; E.ID == testID). </DIV><DIV>&nbsp;</DIV><DIV>I suspect it has to do with the fact that guids are stored in upper case in SQL and lower case in .Net. Could it be&nbsp;possible that it does not match correctly translating to SQL?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Francois</DIV>]]>
   </description>
   <pubDate>Thu, 14 May 2009 13:16:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1260&amp;PID=4537#4537</guid>
  </item> 
 </channel>
</rss>