title: Am I using Automapper 2.0's Include functionality correctly?
body: <p>Either I'm not, or it isn't working...  I have a single Source class that  I want to map to multiple views that inherit from each other.</p>
  
  <p>Basically the base class is the Detail, and the child class is Edit or Update which use all the same data as Detail, plus a couple other fields to manage their own lists or whatever.  </p>
  
  <p>Here are the maps I'm using:</p>
  
  <pre><code>Mapper.CreateMap&lt;Ticket, Detail&gt;()
                  .Include&lt;Ticket, Update&gt;()
                  .Include&lt;Ticket, Edit&gt;()
                  .ForMember(dest =&gt; dest.Priority, opt =&gt; opt.MapFrom(src =&gt; src.Priority.Code))
                  .ForMember(dest =&gt; dest.TicketID, opt =&gt; opt.MapFrom(src =&gt; src.ID))
                  .ForMember(dest =&gt; dest.Status, opt =&gt; opt.MapFrom(src =&gt; src.StatusCode))
                  .ForMember(dest =&gt; dest.Category, opt =&gt; opt.MapFrom(src =&gt; src.ProblemCategoryCode))
                  .ForMember(dest =&gt; dest.crmBusCode, opt =&gt; opt.MapFrom(src =&gt; src.Company.crmBusCode))
                  .ForMember(dest =&gt; dest.TeamMembers, opt =&gt; opt.MapFrom(src =&gt; src.Schedules.Where(s =&gt; s.CompleteTime == null)));
  
              Mapper.CreateMap&lt;Ticket, Update&gt;()
                  .ForMember(m =&gt; m.Schedules, opt =&gt; opt.MapFrom(t =&gt; t.Schedules.Where(s =&gt; s.EmployeeID == Util.CurrentUserID() &amp;&amp; s.CompleteTime == null)));
  
              Mapper.CreateMap&lt;Ticket, Edit&gt;();
  </code></pre>
  
  <p>Then if I Mapper.Map(ticket) any of the properties that use MapFrom don't get evaluated, they just end up with the values they'd have had if there was no set mapping.</p>
  
  <p>So what's wrong here?</p>