title: AutoMapper - Convert list of objects to a single object, with a nested list
body: <p>I'm trying to map list of objects to single object, with a nested list.</p>
  <p>I have the following class</p>
  <pre><code>public class EventLog {
          public string SystemId { get; set; }
          public string UserId { get; set; }
          public List&lt;Event&gt; Events { get; set; }
  }
  
  public class Event {
          public string EventId { get; set; }
          public string Message { get; set; }
  }
  
  public class EventDTO {
          public string SystemId { get; set; }
          public string UserId { get; set; }
          public string EventId { get; set; }
          public string Message { get; set; }
  }
  </code></pre>
  <p>In my List&lt; EventDTO&gt; SystemId and UserId is same for every item in the list.</p>
  <p>I want to do exactly reverse of <a href="https://stackoverflow.com/questions/18096034/possible-to-use-automapper-to-map-one-object-to-list-of-objects">Possible to use AutoMapper to map one object to list of objects?</a>.</p>
  <p>Thank you!</p>