title: automapper multi objects to one object
body: <p>I have two sub class that I need to copy a List element from into a master object</p>
  
  <pre class="lang-cs prettyprint-override"><code>public Class Foo1 : Anote
  {
    public bool Ison { get; set;}
    public List&lt;Anote&gt;Anotes { get; private set;}
  
    public Foo1()
    {
      this.Anotes = new List&lt;Anote&gt;();
    }
  }
  
  public Class Foo2 : Bnote
  {
    public bool Ison { get; set;}
    public List&lt;Bnote&gt;Anotes { get; private set;}
  
    public Foo2()
    {
      this.Anotes = new List&lt;Bnote&gt;();
    }
  }
  
  public Class Foo3 : Cnote
  {
     public bool Ison { get; set;}
     public List&lt;Cnote&gt;Anotes { get; private set;}
     public List&lt;Cnote&gt;Bnotes { get; private set; }
  
  }
  </code></pre>
  
  <p>I will be retreiving data from a database and putting this data into Foo1 and Foo2. I then need
  to Map the List data from Foo1 and Foo2 into the List elements in Foo3. </p>
  
  <p>I have done </p>
  
  <pre class="lang-cs prettyprint-override"><code>Foo1A foo1a = new Foo1A();
  Foo2A foo2a = new Foo2A();
  
  Mapper.CreateMap&lt;Foo1, Foo1A&gt;();
  Mapper.CreateMap&lt;Foo2, Foo2A&gt;();
  Mapper.Map&lt;Foo1, Foo2A&gt;(foo1, foo1a);
  Mapper.Map&lt;Foo2, Foo2A&gt;(foo2, foo2a);
  </code></pre>
  
  <p>and this works but what I need to do is</p>
  
  <p>Map the List Anotes in Foo1 to the List Anotes in Foo3
    Map the List Anotes in Foo2 to the List Bnotes in Foo3.</p>