A convention-based object-object mapper. 100% organic and gluten-free. Takes out all of the fuss of mapping one object to another. 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. AutoMapper is an object-object mapper. Object-object mapping works by transforming an input object of one type into an output object of a different type. What makes AutoMapper interesting is that it provides some interesting conventions to take the dirty work out of figuring out how to map type A to type B. As long as type B follows AutoMapper’s established convention, almost zero configuration is needed to map two types.

Features

  • AutoMapper provides simple configuration of types, as well as simple testing of mappings
  • AutoMapper works best as long as the names of the members match up to the source type’s members
  • Async extension methods for ProjectTo
  • 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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AutoMapper

AutoMapper Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AutoMapper!

Additional Project Details

Programming Language

C#

Related Categories

C# Object-Relational Mapping (ORM) Software

Registered

2021-07-16