I am using AutoMapper to map DTOs to entities.
When creating the maps, I always end up ignoring the relationships of the entities, and that usually result in a long, long list. That is:
Mapper.CreateMap<CUSTOMER_DTO, CUSTOMER_ENTITY>()
.ForMember(m => m.ORDERS, o => o.Ignore())
.ForMember(m => m.PAYMENT_METHODS, o => o.Ignore());
// And on and on!
Is there a way I can just indicate AutoMapper to ignore every relationship in my entities? Many thanks.