title: c# LINQ where with nullable boolean fields
body: <p>I have the following query:</p>
  
  <pre><code>    where !(tf.Shipped.HasValue == true || tf.Ordered.HasValue == true || tf.Processed.HasValue == true) 
  </code></pre>
  
  <p>Note that Shipped, Ordered and Processed are all nullable Boolean fields.</p>
  
  <p>What I am trying to do is to check that if Shipped or Ordered or Processed have a value of true, they should NOT be in the result. </p>
  
  <p>In my case Ordered is true but I am still getting this records. Not sure what I am doing wrong. </p>