I\'m using EF 4.1 and code-first in an MVC project, and AutoMapper to map entities to view models. Prior to using code-first I was able to exclude navigation properties in order to prevent anything f
is there any way to map data from two tables using Mapper.CreateMap()? eg:- i have two tables docu开发者_运维知识库ment and documentdetails.i want to get data from both tables and map them into one mo
I am using Automapper to transfer data from objectA to objectB classe ObjectA { string Title; string Summary;
With AutoMapper, I am using a ValueResolver that returns a structure like this struct MyStruct { public int propA;
I have a source and destination object like so: Source: public 开发者_如何学Goclass Team{ public string TeamName{get; set;}
I am trying to use AutoMapper to map some DTO (data contract) objects received from a web service into my business objects.The root DTO object contains a collection of child objects.My business object
Is there a way to provide AutoMapper with just a source and based on the specified mapping for the type of that source automatically determine what to map to?
Here is my AutoMapper configuration: Mapper.CreateMap<Source, Destination>() .ConstructUsing(s => new Destination(s.CreatedDate.DateTime));
I am calling a .asmx web service that I have added to a project as a Web Reference. Any objects that come back from the webservice are in the namespace of the webservice.I would like to use AutoMappe
Is there any way to set the \"depth\" of mapping on one entity开发者_StackOverflow社区 while mapping to dto?