LINQ equivalent of SQL IsNull(..,..) in the Where Clause
<p>In the following OUTER JOIN LINQ query I'm getting the null exception in the <code>Where</code> clause if a right side row is null (in case c.CustomerID does not match ord.CustomerID in the Outer Join). <strong>Question</strong>: How can I handle the case if ord.price is null in the below <code>Where clause</code> <strong>Note</strong>: price is nullable columns of type <code>int?</code>.</p>

<pre><code>Query1 = from c in Customers
             join ord in Orders on c.CustomerId equals ord.CustomerId into cord
               from t in cord.DefaultIfEmpty()
             where t.price = null || t.price &gt; 100
             select new {CustName = c.Name, OrderID = (t == null ? 0 : t.OrderId)};
</code></pre>

<p><strong>UPDATE</strong>:</p>

<p>I'm sorry, there was a typo in the where clause.</p>

<ol>
<li>As @ JeffMercado pointed out, it should be <code>t.price</code> and <strong>not</strong> <code>ord.price</code></li>
<li>There was a clause missing in the <code>Where</code> clause. I've corrected it to: <code>where t.price = null || t.price &gt; 100</code>. But now I'm getting the error: <code>operator || cannot be applied to operands of type '&lt;null&gt;' and 'int'</code></li>
</ol>