AutoMapper is a simple little library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not invent a tool to do it for us?
First, install NuGet. Then, install AutoMapper from the package manager console:
PM> Install-Package AutoMapper
Any support for Database Frameworks/ORMs?
AutoMapper.Data: ADO.NET Support
Map from IDataReader
AutoMapper.EF6: Extension Methods for EF6
Async extension methods for ProjectTo
AutoMapper.Collection: Map collections by means of equivalency
EqualityComparision between 2 classes
Add, map to, and delete items in a collection by comparing items for matches
AutoMapper.Collection.EF to support Equality by Primary Keys
Persist methods to handle Insert/Update/Delete DTOs to the Entities