title: How to select null values with LINQ to SQL and DbLinq?
body: <p>When I </p>
  
  <pre><code>bool? isApproved = null;
  db.Table.Where(item =&gt; item.IsApproved == isApproved).Count();
  </code></pre>
  
  <p>the last line value is 0. But when I</p>
  
  <pre><code>db.Table.Where(item =&gt; item.IsApproved == null).Count();
  </code></pre>
  
  <p>the value is correct.</p>
  
  <p>I'm using <a href="http://en.wikipedia.org/wiki/SQLite" rel="nofollow">SQLite</a>, <a href="http://code.google.com/p/dblinq2007/" rel="nofollow">DbLinq</a> and <a href="http://code.google.com/p/dblinq2007/wiki/DbMetal" rel="nofollow">DbMetal</a>.</p>