title: Create a bool Linq to SQL Expression from an Int Expression
body: <p>In Linq to SQL I have an expression that returns an int, and I want to make an expression based  on that expression that returns a boolean. The int can be used for <code>OrderBy(score)</code> and the boolean can be used for <code>Where(ifScore)</code>. I'm unable to figure out how to use score to define <code>ifScore</code>, and would appreciate some help. </p>
  
  <pre><code>Expression&lt;Func&lt;Model, int&gt;&gt; score = p =&gt;
              (testList.Count() &gt; 0 &amp;&amp; p.Name.Contains(testList.FirstOrDefault()) ? 1 : 0);
  
  Expression&lt;Func&lt;Model, bool&gt;&gt; ifScore = p =&gt;
              //how to say if score &gt; 2
  </code></pre>