title: Dapper : Custom Map column to nested object
body: <p>I want to map a column value to nested object.</p>
  
  <p>for example in my database table i have:</p>
  
  <pre><code>Users
  (
   varchar UserName,
   varchar Password,
   binary  Permitions
  )
  </code></pre>
  
  <p>in my code i have:</p>
  
  <pre><code>User{string UserName, string Password, Permition Permitions: {...}}
  </code></pre>
  
  <p>I want to do something like</p>
  
  <pre><code>db.Query&lt;User&gt;("Select UserName, Password, Permisions PermitionsFromTable
  from Users WHERE UserName=@User AND Password =@Password", new { user, 
  password
  }, user =&gt;
   {
   user.Permitions = new Permition();
   user.Permitions.LoadPermitions("PermitionsFromTable");
   return user ;
  });
  </code></pre>
  
  <p>it's possible?</p>