title: Dynamic Linq OR with int and string
body: <p>I have a very simple query that would look like this</p>
  
  <pre><code>select      *
  from        job
  where       jobId like '%23%'
  or title    like '%23%'
  </code></pre>
  
  <p>I need to be able to replicate this using dynamic Linq</p>
  
  <p>The closest i've come to is this, but it doesn't work</p>
  
  <pre><code>.Where("@0.Contains(jobId) or title.Contains(@0)", "23");
  </code></pre>
  
  <p>Has anyone got a solution to this, ideally I would like it to do a like on both int's and strings</p>
  
  <p><strong>addendum based on comments</strong></p>
  
  <p>The error is:</p>
  
  <blockquote>
    <p>An exception of type 'System.Linq.Dynamic.ParseException' occurred in System.Linq.Dynamic.dll but was not handled in user code Additional information: No applicable method 'Contains' exists in type 'String'</p>
  </blockquote>
  
  <p>The <code>jobId</code> field is an <code>int</code>, while <code>title</code> is a <code>varchar</code>.</p>