In a project using NHibernate, I have this class : public class AdminVAT : IAdminDecimal { public virtual int Id { get; set; }
Given the following classes: public class User { public int Id {get;set;} public PersonName Name {get;set;}
I have an IList<AdminVAT> and I\'d like to copy this collection to IList<AdminVATDto> collection
I\'m new to AutoMapper and I\'ve been reading and reading questions around here but I\'m not quite able to figure out what looks like a very trivial question.
Is it possible to use AutoMapper with a single property? I would like to convert a string value of comma delimited values to a list of values separated by a line feed on the UI.
I\'m using AutoMapper in a g开发者_运维知识库enerated Data Access Layer. That works fine. It was a little confusing when using AutoMapper in another layer and realizing the mappings created in the DAL
My DTOs (simplified for demonstration purposes): Item (the DTO mapped to my ViewModel in question): public class Item {
A strange error began occurring in our code in the lest week or two. I am trying to identify the root cause of the mapping failure. The most-inner exception itself is puzzling: Type \'System.String\'
I need help with my mapper program. i have two types开发者_如何转开发 (Lets say A and B)and i want to have two different mappings.
I am trying to use automapper to create a single map for a parent object and to reuse this amongst its children.