As suggested in this answer Using Profiles in Automapper to map the same types with different logic, can anybody provide an example of using Automapper with different Configuration object?
I need to have two or more configuration for mapping between two objects. How can I register many configuration objects and how to use them?
Asked
Active
Viewed 1,184 times
2

Community
- 1
- 1

Hrvoje Hudo
- 8,994
- 5
- 33
- 42
-
so y don't you just use the answer from that question ? – Omu Sep 08 '10 at 11:23
-
well, i didn't manage to build several configuration objects, and used CreateMap on them, all that with StructureMap for DI! I was hoping someone could give me code example, from where i could start. – Hrvoje Hudo Sep 09 '10 at 09:07
-
@Hrvoje did you get some solution for keeping multiple mapping for same types? – Baig Oct 11 '11 at 12:42