I am currently migrating several mapping profiles from Automapper 4.2.1 to the latest version 9.0.0. The old mapping profiles are build up hierarchica ...
I am currently migrating several mapping profiles from Automapper 4.2.1 to the latest version 9.0.0. The old mapping profiles are build up hierarchica ...
Now I am creating a website where you can place orders. There we have Order, OrderItem and Item. Upon creation of the order I will receive: a ...
I have a source class like this: a target class like this: and a mapping like this: Now I've made the "Property" property in the original mod ...
I'm on AutoMapper 4.2 and I cant figure out why I'm getting this error Autofac.Core.Registration.ComponentNotRegisteredException The requested ser ...
In my Web API controller method, before I map the UpdatePlaceDTO to PlaceMaster, I make a database call to populate the properties that are not covere ...
I am using automapper v4.1.1 and automapper.data1.0.0.beta 1. I have console app and my mapping code looks like: And my db call code and mapping lo ...
I'm using AutoMapper 4.1.1 within MVC 5 and then using it to map the entities from EF6 (pure Poco with any virtual and no lazy loading) to viewModels. ...
We have a complex object User that contains a bunch of lists of other objects. When we run the code, it's quite acceptable for some of the properti ...
I am trying to convert from bool value to decimal i automapper. It works fine if i dont check for null values .But i want to check for null values and ...
Struggling a little on how to use automapper in my project class libraries (dlls). See my structure of my overall solution below. The WebApp fires up ...
A specification pattern can be used to compose objects as shown in the example below: This leads to manually map the data from DTO to the specifica ...
This is my model Heirarchy : and these are my mappings and test : and here is the exception : AutoMapper.AutoMapperMappingException: Mapping ...
I'm just getting to grips with AutoMapper and love how it works. However I believe it can map some complex scenarios that I'm currently wiring up manu ...
Mapper.DynamicMap(object, source, destination) is deprecated in the latest version of Automapper. What is the alternative of this method when the sou ...
Just yestarday I posted this: Automapper - Inheritance mapper not working with type converter Now I'm trying to do what @jimmy-bogard said in his an ...
Can't use Mapping Inheritance and TypeConverter together. I have this code: As you can see, I want to be able to map from a TypeConverter class, b ...
so here is mapping definition: I have defined my custom resolver: and in my controller Action method: when mappeing occurs, I get this except ...
The scenario is the following: I receive a message containing a lot of variables, several hundreds. I need to write this to Azure Table storage where ...
I trying out Automapper, with a really easy mapping, but it does not work. I am trying to map a System.Security.Claims.Claim type to another type Clai ...
I have these following class under two different namespaces, e.g. Source and Target. Mapping classes: Note that the Instance class has Definition ...