title: Dynamic Linq to add LIKE to where clause
body: <p>I'm trying to perform a LIKE clause in an entity query. The <a href="https://stackoverflow.com/questions/3095781/how-to-use-sql-like-with-linq-to-entities">examples</a> I've seen use dynamic linq to do this kind of thing, but my code...</p>
  
  <pre><code>var query = context.StudySet
      .Where("it.PatientName LIKE @patientName", new ObjectParameter("patientName", patientName);
  </code></pre>
  
  <p>...gives me a System.Linq.Dynamic.ParseException with </p>
  
  <pre><code>Additional information: Expression of type 'Boolean' expected
  </code></pre>
  
  <p><em>context</em> is a DbContext from EF 6 code-first, <em>patientName</em> is a string</p>
  
  <p>Please tell me what's wrong with my code?</p>