title: Mapping multiple objects in dapper using Split-on and Query Multiple together
body: <p>Consider <strong>Role-Employee-Address</strong></p>
  
  <p>An employee can have only one role but can have many addresses. So using split on is not efficient as we may get the duplicates of roles and employee. We can use query multiple, but i feel if there is a way we can capture the role and employee together in one result and address in another, then that would be better.</p>
  
  <p>In that case, instead of returning role and employee separately, we can directly join both in a single query and split on some column while mapping.</p>
  
  <p>I'm expecting something like this</p>
  
  <pre><code>string query = "StoredProcedure";
  
  using (var multi = connection.QueryMultiple(query, null))
  {
      empRole = multi.Read&lt;Employee,Role&gt;().Single().SplitOn("Id");
      add = multi.Read&lt;Address&gt;().ToList();
  }    
  </code></pre>
  
  <p>Is there any way we could do like this using both the techniques together?</p>