title: Creating Expression<Func<T, bool>> predicate with just LambaExpression and comparison value
body: <p>I need to create a <code>Expression&lt;Func&lt;T, bool&gt;&gt;</code>, but all I have is a <code>LambaExpression</code> of the property to compare and the value to use for the comparison.</p>
  
  <p>This is what the predicate would look like if I hard code it, and this is what I need to achieve but don't know how.</p>
  
  <pre><code>string comparisonValue = "something";
  
  Expression&lt;Func&lt;Person, bool&gt;&gt; predicate = person =&gt; person.Name == comparisonValue;
  </code></pre>
  
  <p>I have the following:</p>
  
  <pre><code>LambdaExpression expression = PropertyExpression&lt;Person&gt;(t =&gt; t.Name);
  </code></pre>
  
  <p>Is there a way to generate the hard coded predicate like the above with just a property LambdaExpression and the value to compare?</p>
  
  <p>I've tried using <code>LambdaExpression.Equal()</code>, but cannot get it to work.</p>