title: Passing null parameters into LINQ where clause
body: <p>I have a table where some items may be null. I can query then easily by using a query like so:</p>
  
  <pre><code>db.SomeTable.Where(s =&gt; s.SomeCol == null)
  </code></pre>
  
  <p>Simple enough, but this does not work (No results. I suspect it is searching for an empty string instead; "") when using a variable that happens to be null, like so:</p>
  
  <pre><code>string variable = null;
  db.SomeTable.Where(s =&gt; s.SomeCol == variable)
  </code></pre>
  
  <p>Do I have to do something special to get this to work?</p>