title: Automapper - Multi object source and one destination
body: <p>I am using auto mapper to map multiple objects (db class into ui objects).</p>
  
  <p>Map 1:</p>
  
  <pre><code>Mapper.CreateMap&lt;sourceone, destination&gt;().ForMember(sss =&gt; sss.one, m =&gt; m.MapFrom(source =&gt; source.abc));
  </code></pre>
  
  <p>Map 2:</p>
  
  <pre><code>Mapper.CreateMap&lt;sourcetwo, destination&gt;().ForMember(sss =&gt; sss.two, m =&gt; m.MapFrom(source =&gt; source.xyz));
  
  destination d = new destination();
  </code></pre>
  
  <p>//Map 1</p>
  
  <pre><code>d = AutoMapper.Mapper.Map&lt;sourceone, destination&gt;(sourceone);
  </code></pre>
  
  <p>//Map 2</p>
  
  <pre><code>d = AutoMapper.Mapper.Map&lt;sourcetwo, destination&gt;(sourcetwo);
  </code></pre>
  
  <p>Once I make call to the 'Map 2', the values that are populated using Map 1 are lost.. (i.e destination.one is becoming empty). How do I fix this?</p>