Image courtesy of Mike Enerio / unsplash.com
Mapping two objects using convention and coded/configurerd mappings. This comes in handy when moving through the layers of a solution (data > business > viewmodel) Every property with the same name is automatically mapper – hence the name.
The newest version of AutoMapper offers an Interface for use with IoC. Save the MapperConfiguration and use it every time to construct the IMapper impementation (config.CreateMapper())
Pingback: Bogus – testdata generator | .NET Development by Eric