title: Map IList to ICollection through AutoMapper
body: <pre><code>public class Order
  {
      public int OrderId { get; set; }
      public string OrderCode { get; set; }
      public IList&lt;OrderItem&gt; OrderItems { get; set; }
  }
  
  public class OrderDTO
  {
      public string OrderId { get; set; }
      public string IdentifiableCode { get; set; }
      public decimal TotalCost { get; set; }
      public ICollection OrderItems { get; set; }
  }
  
  public class OrderItem
  {
      public int OrderItemId { get; set; }
      public int ItemCount { get; set; }
      public Order Order { get; set; }
  }
  
  public class OrderItemDTO
  {
      public int OrderItemId { get; set; }
      public int ItemCount { get; set; }
      public OrderDTO Order { get; set; }
  }
  </code></pre>
  
  <p>In this scenario how can i map IList of OrderItems to ICollection. I tried to use resolver but ended up in recursive since OrderItem has Order reference. </p>
  
  <p>Any ideas?</p>