title: Is it possible for nhibernate to return a query as an IDictionary instead of an entity class?
body: <p>I have an entity Person:</p>
  
  <pre><code>public class Person
  {
     public virtual int Id {get; set; }
     public virtual string FirstName { get; set; }
     public virtual string MiddleName { get; set; }
     public virtual string LastName { get; set; }
  }
  </code></pre>
  
  <p>with the mappings: </p>
  
  <pre><code>public class PersonMap
  {
     public PersonMap()
     {
         Table(TABLE_NAME); 
         Id( x =&gt; x.Id);
         Map(x =&gt; x.FirstName).Not.Nullable();
         Map(x =&gt; x.LastName).Not.Nullable();
         Map(x =&gt; x.MiddleName).Not.Nullable();
      }
  }
  </code></pre>
  
  <p>There are some stuations where I would like Nhibernate to return a dictionary instead of the entity:</p>
  
  <pre><code>IDictionary&lt;string,string&gt; person = session.Get(id);//????
  string firstName = person["FirstName"];
  </code></pre>
  
  <p>Is this possible to without adding a different mapping?</p>