
AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, …
AutoMapper uses a fluent configuration API to define an object-object mapping strategy. AutoMapper uses a convention-based matching algorithm to match up source to destination …
AutoMapper — AutoMapper documentation
AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, …
Getting Started Guide — AutoMapper documentation
How do I use AutoMapper? First, you need both a source and destination type to work with. The destination type's design can be influenced by the layer in which it lives, but AutoMapper …
Setup — AutoMapper documentation
Starting with 9.0, the static API is no longer available. Gathering configuration before initialization AutoMapper also lets you gather configuration before initialization:
Mapping Inheritance — AutoMapper documentation
Overall this feature should make using AutoMapper with classes that leverage inheritance feel more natural.
docs.automapper.org
The real power of custom type converters is that they are used any time AutoMapper finds the source/destination pairs on any mapped types. We can build a set of custom type converters, …
Configuration — AutoMapper documentation
By default, AutoMapper only recognizes public members. It can map to private setters, but will skip internal/private methods and properties if the entire property is private/internal.
Configuration Validation — AutoMapper documentation
One of the inspirations behind AutoMapper was to eliminate not just the custom mapping code, but eliminate the need for manual testing. Because the mapping from source to destination is …
Attribute Mapping — AutoMapper documentation
Member -based attributes are declared in the AutoMapper.Configuration.Annotations namespace. If the attribute-based configuration is not available or will not work, you can combine both …