Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What would be the equivalent of this in AutoMapper 11? I have lots of this code in a project that needs to be upgraded to v11 but I can't figure out if this is still possible? All the documentation suggests it isn't so can anyone confirm?
var obj1 = GetSomeObject();
var obj2 = GetSomeOtherObject();
Mapper.Initialize(c => c.CreateMissingTypeMaps = true);
Mapper.Map(obj1, obj2, obj1.GetType(), obj2.GetType());
Beta Was this translation helpful? Give feedback.
All reactions