Top "Automapper-5" questions

Use this tag for version specific questions about AutoMapper 5 - the convention-based object-to-object mapper and transformer library for .NET.

Automapper with resolver throwing "Error mapping types"

We have a class inside another class as a property which needs to be mapped using Automapper. We have written …

c# automapper automapper-5
How to use the new IValueResolver of AutoMapper?

I am at a loss as to how to use the new IValueResolver interface in the new version of AutoMapper. …

c# automapper automapper-5
EF & Automapper. Update nested collections

I trying to update nested collection (Cities) of Country entity. Just simple enitities and dto's: // EF Models public class Country { …

c# entity-framework-6 automapper-5
AutoMapper throwing "No default constructor" during validation

I have classes to map, but they don't have default constructors, and I don't want them to have. This is …

c# .net automapper automapper-5
Mapper not initialized, When Use ProjectTo()

I Use Automapper 5.2.0 In My Project. When I Use ProjectTo() In Code Get This Error: Mapper not initialized. Call Initialize …

c# ioc-container structuremap automapper-5
Automapper with Child List Property Mapping Issue

I am having following Models Models public class Dish { [Required] public Int64 ID { get; set; } [Required] public string Name { get; …

c# .net automapper automapper-5