title: Automapper IDataReader to List<T> - Missing type map configuration or unsupported mapping
body: <p>As the title suggests I am trying to map a DataReader object to a List of Objects, here is the code I am using, I have tried this using both AutoMapper 4.2.1 and 3.3.1</p>
  
  <pre><code>Mapper.Initialize(cfg =&gt;
              {
                   cfg.CreateMap&lt;IDataReader, MemberChangesDto&gt;()                
                  .ForMember(dest =&gt; dest.MemberNo, opt =&gt; opt.MapFrom(src =&gt; (string)src["Member_No"]))
                  .ForMember(dest =&gt; dest.OrganisationName, opt =&gt; opt.MapFrom(src =&gt; (string)src["Member_Name"]))
                  .ForMember(dest =&gt; dest.MemberJoinDate, opt =&gt; opt.MapFrom(src =&gt; (string)src["Membership_StartDate"]))
                  .ForMember(dest =&gt; dest.ResignationDate, opt =&gt; opt.MapFrom(src =&gt; (string)src["Membership_Resigned_Date"]))
                  .ForMember(dest =&gt; dest.MemberStatusId, opt =&gt; opt.MapFrom(src =&gt; (string)src["Membership_Status_Code"]));
              }
              );
  </code></pre>
  
  <p>Once the automapper is initialized I verify it by using </p>
  
  <pre><code>Mapper.AssertConfigurationIsValid();
  </code></pre>
  
  <p>This returns no errors, then I call the mapping </p>
  
  <pre><code>IDataReader dataTableReader = memberChangesDS.Tables[2].CreateDataReader();
  IList&lt;MemberChangesDto&gt; members = Mapper.Map&lt;IList&lt;MemberChangesDto&gt;&gt;(dataTableReader);
  </code></pre>
  
  <p>However this returns the error </p>
  
  <blockquote>
    <p>{"Missing type map configuration or unsupported mapping.
    Mapping types:
    IDataReader -> IList<code>1
    System.Data.IDataReader -&gt; System.Collections.Generic.IList</code>1[[MemberChangesDto, Models,
    Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null]]
    Destination path:
    IList`1
    Source value: System.Data.DataTableReader"}</p>
  </blockquote>
  
  <p>The Object I am trying to map to looks like this. </p>
  
  <pre><code>public class MemberChangesDto
  {
      public string MemberNo { get; set; }
      public string OrganisationName { get; set; }
      public string MemberJoinDate { get; set; }
      public string ResignationDate { get; set; }
      public string MemberStatusId { get; set; }
  }
  </code></pre>
  
  <p>Can anyone point me in the right direction, I have used AutoMapper from object to object with no problem, however I think the IDataReader is causing the problem here.</p>
  
  <p>Thanks in advance.</p>