I have 1 class that I need t map into multiple classes, for eg.
This is the source that I\'m mapping from(view model):
public class UserBM { publ
Define two mappings, both mapping from the same source to different destinations. In the User mapping, map the Location property manually using Mapper.Map(...)
User
Location
Mapper.Map(...)
Mapper.CreateMap(); Mapper.CreateMap() .ForMember(dest => dest.Location, opt => opt.MapFrom(src => Mapper.Map(src));