title: automapper doesn't map as expected
body: <p>I am new to automapper, so I may be attacking this the wrong way.  I am working on an mvc app and I want to use automapper to map between my domain models and my view models.  My view is taking an IList to render the html page.</p>
  
  <p>Here is the code from my controller - </p>
  
  <pre><code>IList&lt;viewModel&gt; vm = Mapper.Map&lt;IList&lt;entity1, viewModel&gt;(dataFromEntity1);
  </code></pre>
  
  <p>Here is my Automapper Configuration - </p>
  
  <pre><code> protected override void Configure()
   {
       CreateMap&lt;entity1, viewModel&gt;();
   }
  </code></pre>
  
  <p>Here is my Entity1</p>
  
  <pre><code>public class entity1
  {
         public virtual int id { get; set; }
         public virtual string anything { get; set; }
  
         public virtual Entity2 entity2 { get; set; }
  }
  </code></pre>
  
  <p>Here is entity2 - </p>
  
  <pre><code>public class entity2
  {
         public virtual int id_2 { get; set; }
         public virtual string everything { get; set; }
  }
  </code></pre>
  
  <p>Here is my viewModel - </p>
  
  <pre><code>public class viewModel
  {
         public string anything { get; set; }
         public string entity2everything { get; set; }
  }
  </code></pre>
  
  <p>From reading through the docs on codeplex, I assumed the mapping for everything from entity2 would work automatically, but when I run the test AssertConfigurationIsValid, it fails on entity2everything.</p>
  
  <p>I've seen the post <a href="https://stackoverflow.com/questions/2444445/how-do-i-get-automapper-to-map-this">here</a> that shows that there should be an entity2Dto object to map to, but where does that tie in?  Do I have to add that to my viewModel object?</p>
  
  <p>Am I a missing a mapping somewhere?  I can't figure out how this is supposed to work.
  Thanks for any thoughts. </p>