Am I using Automapper 2.0's Include functionality correctly?
问题 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. 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. Here are the maps I'm using: Mapper.CreateMap<Ticket, Detail>() .Include<Ticket, Update>() .Include<Ticket, Edit>() .ForMember(dest => dest.Priority, opt => opt.MapFrom(src => src