Top "Automapper" questions

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

How to ignore null values for all source members during mapping in Automapper 6?

I've been looking everywhere: stackoverflow, automapper documentation, internets and just couldn't find any info on this one, even tho this …

c# mapping automapper
Mapping collections using AutoMapper

I'm trying to map an array into an ICollection of type <T>. Basically I want to be able …

c# automapper
Create two Automapper maps between the same two object types

I am using AutoMapper in a WCF service to return User objects. User has properties such as AccountTeams which itself …

c# .net wcf automapper
Deep level mapping using Automapper

I am trying to map objects with multi-level members: these are the classes: public class Father { public int Id { get; …

c# automapper
AutoMapper Map If Not Null, Otherwise Custom Convert

Here's my code: Mapper.CreateMap<Foo, Foo2>() .ForMember(dest => dest.Bar, opt => opt.MapFrom(src => …

c# automapper
Automapper - Mapper already initialized error

I am using AutoMapper 6.2.0 in my ASP.NET MVC 5 application. When I call my view through controller it shows all …

asp.net asp.net-mvc automapper automapper-6
Automapper ResolveUsing or MapFrom

I have a mapping definition defined as Mapper.CreateMap<Calculator, CalculatorViewModel>() .ForMember(dest => dest.TypeIndicator, src => …

automapper
AutoMapper: manually set property

I am using AutoMapper to map from flat DataObjects to fat BusinessObjects and vice versa. I noticed that mapping from …

c# automapper
Possible to use AutoMapper to map one object to list of objects?

These are my classes: public class EventLog { public string SystemId { get; set; } public string UserId { get; set; } public List<…

c# automapper
Automapper with nested child list

I have two classes below: public class Module { public int Id { get; set; } public string Name { get; set; } public string …

c# .net c#-4.0 automapper automapper-2