title: Linq To NHibernate: .StartsWith on multiple properties
body: <p>I'm trying to accomplish the following query (notice .StartsWith):</p>
  
  <pre><code>return (from p in _session.Linq&lt;Profile&gt;()
          where (p.Firstname + " " + p.Lastname).StartsWith(wildcard)
          select p).ToList();
  </code></pre>
  
  <p>This throws: could not resolve property: Firstname.Lastname.</p>
  
  <p>If I do this:</p>
  
  <pre><code>return (from p in _session.Linq&lt;Profile&gt;()
          where p.Firstname.StartsWith(wildcard)
          select p).ToList();
  </code></pre>
  
  <p>Everything is working. How can this be?</p>
  
  <p>Thanks in advance!</p>