I am not sure if this is possible but here is my situation. Say I have a model like this: public class Product
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I am trying to set up AutoMapper to convert from Entity to DTO. I know I\'m supposed to be using .ForMember() after Mapper.CreateMap<Entity, DTO>() to set up custom mappings, but this doesn\'t s
In my Global.asax **Application_Start()** I have a configuration of AutoMapper, this configuration is triggered whenever the application run.
Im not quite sure how to use ViewModels so i need some help on the following issue: I am creating a online survey.
I explicitly load relationships on my POCO when I need to, but since I switched to AutoMapper I thought I could instruct it to pre-load relationships for me so that my code in service layer looks clea
I have a unit test which I use mapper from Model to ViewModel, and ViewModel back to Model the Update the record - but in reality I haven\'t changed a thing, just testing that updating works.
I just downloaded the source code of AutoMapper to do some debugging. When I built the sources I noticed it has 2.0 as a version number.
using (IDataReader dr = DatabaseContext.ExecuteReader(command)) { if (dr.Read()) { AutoMapper.Mapper.CreateMap<IDataReader, ProductModel>();
I\'m starting to use AutoMapper for my project. For this I want to do the following \'one-to-many\' mapping: