Automapper: Update property values without creating a new object

Use the overload that takes the existing destination:

Mapper.Map<Source, Destination>(source, destination);

Yes, it returns the destination object, but that’s just for some other obscure scenarios. It’s the same object.

Leave a Comment