title: Using SQRT in a Linq EF Query
body: <p>I need to use the SQRT function as part of a where clause in a Linq EF query.  I figured I could do this:</p>
  
  <pre><code>var qry = context.MyTable.Where("sqrt(it.field) &gt; 1");
  </code></pre>
  
  <p>But it returns an error saying "'sqrt' cannot be resolved into a valid type constructor or function., near function, method or type constructor, line 6, column 5."</p>
  
  <p>I had always assumed that linq literally takes what's in the where clause and translates that into a statement that is executed directly in SQL. That doesn't seem to be the case...</p>
  
  <p>Anyone know the work-around?</p>
  
  <p>Thanks</p>