automapper
AutoMapper IObjectMapper example
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[详细]
2023-03-17 11:19 分类:问答Automapper to create object from XML
If I have the following class: class SPUser { public int ID { get; set; } public string Name { get; set; }[详细]
2023-03-16 10:21 分类:问答ConfigureAutomapper to map contents of collection-property, but use destination collection object
I have a class class A { public A() { CollectionProp = new List<B>(); } public ICollection<B> CollectionProp {get; private set;}[详细]
2023-03-16 09:13 分类:问答Linq to SQL and Auto Mapper
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.[详细]
2023-03-16 07:28 分类:问答I loaded my database using automapper. Now how do I get the data back out and into the viewModel again?
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[详细]
2023-03-16 00:37 分类:问答Parallel For Not Working With EF4.1 and Automapper
I\'m having problems with implementing a Parallel For it seems to cause error messages intermittently.[详细]
2023-03-15 04:13 分类:问答EF4 not updating many-to-many graph; Or, is there a better way to handle many-to-many in EF4?
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[详细]
2023-03-14 23:46 分类:问答What approach to take for testing AutoMapper configuration in an ASP.NET MVC application?
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:[详细]
2023-03-14 23:05 分类:问答Extra iterations in a foreach in an AutoMapper map
For some reason, a loop that I use in an AutoMapper map definition is iterating more than it should. The map definition:[详细]
2023-03-14 20:17 分类:问答Problem with Automapper and Windsor
I have a problem with Automapper when I try use custom resolver which uses dependency injection. I have the following model:[详细]
2023-03-14 14:06 分类:问答