Is there an AutoMapper merge feature?

Autoresponder: I was hoping AutoMapper would allow me to merge the properties from the DTO back into an existing business object. I do not see anything like it. AutoMapper.Map () creates a new object and populates it, but I need to copy the DTO changes back to the original business object. Is there a Map function that accepts source and target objects?

+5
source share
1 answer

The map method is overloaded. You can use Map (src, dst).

+11
source

All Articles