In short, has anyone got one, including how to re开发者_运维知识库gister the custom mapper. I\'m trying to map a custom IList<T> implementation and am not getting very far.Just replace the Mapp
If I have the following class: class SPUser { public int ID { get; set; } public string Name { get; set; }
I have a class class A { public A() { CollectionProp = new List<B>(); } public ICollection<B> CollectionProp {get; private set;}
I have the following set up Linq to SQL data context Data transfer objects (DTO\'s) that I use to pass data from my business layer to my UI.
So I have a 7 ViewModels that reference 3 domain models, I used automapper to map the Models to the ViewModels,That worked great, now I want to populate the ViewModel from data stored in the database
I\'m having problems with implementing a Parallel For it seems to cause error messages intermittently.
My current problem seems like a mutant version of what I ran into a few months ago (see: Problems updating w/ EF4 repo & MVC2 - can't update many-to-many graph).I can create a new Game-Platfor
We are using AutoMapper extensively in our ASP.NET MVC web applications with the AutoMapViewResult approach set out in this question. So we have actions that look like this:
For some reason, a loop that I use in an AutoMapper map definition is iterating more than it should. The map definition:
I have a problem with Automapper when I try use custom resolver which uses dependency injection. I have the following model: