title: NHibernate Linq : how to use StartsWith on an integer type
body: <p>I'd like to execute a query like this but it fails :</p>
  
  <pre><code>session.Linq&lt;Product&gt;().Where(p=&gt;p.Id.ToString().StartsWith("123"))
  </code></pre>
  
  <p>Is there a workaround ? I'd prefer to use LINQ... maybe there is a easy way to extend the linq provider ?</p>
  
  <p>I'm using NHibernate 2.1.2</p>
  
  <p>EDIT: Yes, it fails because NHIbernate.Linq doesn't handle ToString()</p>