Top "Automapper" questions

A convention-based object-to-object mapper and transformer for .NET

AutoMapper convert from multiple sources

Let's say I have two model classes: public class People { public string FirstName {get;set;} public string LastName {get;set;} } …

c# automapper
How to configure Conditional Mapping in AutoMapper?

Suppose I have the following entities (classes) public class Target { public string Value; } public class Source { public string Value1; public …

c# lambda automapper automapper-2
Entity Framework + AutoMapper ( Entity to DTO and DTO to Entity )

I've got some problems using EF with AutoMapper. =/ for example : I've got 2 related entities ( Customers and Orders ) and they're DTO …

c# entity-framework automapper dto
Automapper says Mapper.Map is obsolete, global mappings?

I had defined in my project a global Automapper configuration that would allow me to use Mapper.Map<targetType&…

c# automapper
Automapper - Does it map lists of objects?

I have the following Automapper defintion: Mapper.CreateMap<IB.BusinessComponents.Data.LocationMaster, IB.Entites.Master.Location>(); Mapper.CreateMap&…

automapper
Automapper - Multi object source and one destination

I am using auto mapper to map multiple objects (db class into ui objects). Map 1: Mapper.CreateMap<sourceone, destination&…

c# asp.net-mvc automapper
How can I map between two enums using Automapper?

I have a public facing interface that I'm trying to map two different enumerations to each other. I tried to …

c# automapper
Trying to add AutoMapper to Asp.net Core 2?

I worked on a asp.net core 1.1 project a while ago and use in projetc AutoMapper. in asp.net core 1.1, …

asp.net-mvc asp.net-core automapper asp.net-core-2.0
Automapper: bidirectional mapping with ReverseMap() and ForMember()

I have the case where I want to map an entity to a viewmodel and back. I have to specify …

.net automapper bidirectional
Map collection of objects

I am trying to introduce Automapper into an application for the first time, but I keep getting an error saying …

c# entity-framework automapper