Recursively merging two objects of the same type

Is recursion really necessary in order to map two objects of the same type? Could you
not use AutoMapper .

As the objects are of the same type mapping their property is straight forward. Moreover you have control over what member to include or whether to override or combine source and destination etc.

This is a nice SO post to check here

Leave a Comment