title: Change parameter from lambda function to lambda expression
body: <p>I have extension method:</p>
  
  <pre><code>public static IQueryable&lt;TResult&gt; WithFieldLike&lt;TResult&gt;(
     this IQueryable&lt;TResult&gt; query,
     Func&lt;TResult, string&gt; field,
     string value)
  {
     Expression&lt;Func&lt;TResult, bool&gt;&gt; expr = 
         trans =&gt; field(trans).Contains(value);
     return query.Where(expr);
  }
  </code></pre>
  
  <p>I need change parameter field to type: Expression>. Will be something like.</p>
  
  <pre><code>public static IQueryable&lt;TResult&gt; WithFieldLike&lt;TResult&gt;(
     this IQueryable&lt;TResult&gt; query,
     Expression&lt;Func&lt;TResult, string&gt;&gt; field,
     string value)
  {
     Expression&lt;Func&lt;TResult, bool&gt;&gt; expr = ???
     return query.Where(expr);
  }
  </code></pre>
  
  <p>The call of this method is:</p>
  
  <pre><code>var query7 = query.WithFieldLike(trans =&gt; trans.DeviceModelNumber, "ber_3");
  </code></pre>
  
  <p>How should I build the "expr" in this case? Please help.</p>