CreateMap<DerivedEntity, DerivedDto>() .IncludeBase<BaseEntity, BaseDto>();
CreateMap<BaseEntity, BaseDto>()
--
You received this message because you are subscribed to the Google Groups "AutoMapper-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automapper-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, but only in later versions of AutoMapper (5.1 and later I believe)
On Thu, Jun 1, 2017 at 11:16 AM, <cjm.ai...@gmail.com> wrote:
When setting up a configuration, can I create the Derived map before the Base map?In other words, can this:CreateMap<DerivedEntity, DerivedDto>() .IncludeBase<BaseEntity, BaseDto>();come before this:CreateMap<BaseEntity, BaseDto>()
--
You received this message because you are subscribed to the Google Groups "AutoMapper-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automapper-use...@googlegroups.com.