title: What can be used as a NHibernate QueryOver alias?
body: <p>I know so far that a local variable or a local property can be used as an alias like so</p>
  
  <pre><code>ClassA _aliasA;
  _session.QueryOver(x =&gt; x.ClassA, () =&gt; _aliasA);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>ClassA AliasA { get; set; }
  _session.QueryOver(x =&gt; x.ClassA, () =&gt; AliasA);
  </code></pre>
  
  <p>I want to know what other options are possible. Like, are properties of an external class a valid option?</p>
  
  <pre><code>class ClassGenericAliases
  {
      ClassA Class { get; set; }
  }
  
  _session.QueryOver(x =&gt; x.ClassA, () =&gt; ClassGenericAliases.ClassA);
  </code></pre>
  
  <p>Can statics be used as aliases?
  Are there other options for declaring aliases?</p>