title: C# Lambda .Contains() on multiple properties
body: <p>We are using the following to generate a search query (using NHibernate).</p>
  
  <pre><code>GetAll(x =&gt; x.Username.ToUpper().Contains(SEARCH)).ToList();
  </code></pre>
  
  <p>Is it possible to do a search (Contains) for multiple properties, something like ...</p>
  
  <pre><code>    GetAll(x =&gt; x.Username.ToUpper().Contains(SEARCH) 
          &amp;&amp; x =&gt; x.Firstname.ToUpper().Contains(SEARCH) 
          &amp;&amp; x =&gt; x.Lastname.ToUpper().Contains(SEARCH)).ToList();
  </code></pre>
  
  <p>Using C#</p>