Top "Automapper" questions

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

Ignore mapping one property with Automapper

I'm using Automapper and I have the following scenario: Class OrderModel has a property called 'ProductName' that isn't in the …

c# model viewmodel automapper object-object-mapping
Automapper missing type map configuration or unsupported mapping - Error

Entity Model public partial class Categoies { public Categoies() { this.Posts = new HashSet<Posts>(); } public int Id { get; set; } …

asp.net-mvc automapper
How to set up Automapper in ASP.NET Core

I'm relatively new at .NET, and I decided to tackle .NET Core instead of learning the "old ways". I found …

c# asp.net-core automapper
Mapping Lists using Automapper

I have the classes: public class Person{ /* Props here */ } public class PersonViewModel { /* Props here */ } Then the list: List<Person&…

asp.net-mvc automapper
Where to place AutoMapper.CreateMaps?

I'm using AutoMapper in an ASP.NET MVC application. I was told that I should move the AutoMapper.CreateMap elsewhere …

asp.net-mvc design-patterns configuration automapper
Simple Automapper Example

I am having a hard time to understand how to map certain objects. Please answer some questions about this simple …

c# wcf linq-to-entities automapper
How to use AutoMapper .ForMember?

I am trying to set up AutoMapper to convert from Entity to DTO. I know I'm supposed to be using .…

.net automapper
AutoMapper: "Ignore the rest"?

Is there a way to tell AutoMapper to ignore all of the properties except the ones which are mapped explicitly? …

.net automapper
Automapper copy List to List

I have these classes: public class Person { public int Id{ get; set ;} public string FirstName{ get; set ;} public string LastName{ …

c# automapper automapper-2
NuGet Package Manager: 'AutoMapper' already has a dependency defined for 'Microsoft.CSharp'

I'm trying to add AutoMapper as a dependency to a project using NuGet on Visual Studio Premium 2012, but it fails. …

c# visual-studio-2012 nuget automapper