I\'m using Mapper.DynamicMap() inside a generic method and would like to, without using .CreateMap(), ignore some any source values that are null. Is this even poss开发者_C百科ible?If you want all sou
I have two entities: Employee and Team. What I want is an EmployeeForm that has the Name of the Team.
I am getting an AutoMapper Exception when i try to Map my DomainModel to ViewModel, Here is my Domain Model Class,
As suggested in this answer Using Profiles in Automapper to map the same types with different logic, can anybody provide an example of using Automapper with differ开发者_JS百科ent Configuration object
Here is the code for the mapper: public IEnumerable<GetQuestionsContract> Map(IEnumerable<XmlNode> nodes, XmlNamespaceManager namespaceManager)
I have these business classes: class BaseNode { public string name; } class CompositeNode : BaseNode { public List<BaseNode> childs = new List<BaseNode>();
I am getting the following exception when calling any of my Mapper.Map methods. Inheritance security rules violated while overriding membe开发者_JAVA技巧r: \'Castle.Core.Logging.LevelFilteredLogger.
Here is what I have where I hope someone can help us out: class Source { string name { get; set; } Inner { get; set; }
I am having trouble injecting AutoMapper into an ASP.NET MVC 2 application using Ninject. I used Jimmy Bogard\'s post on AutoMapper and StructureMap type Configuration as a guide.
If I have a nested source and destination like this: public class UserInformationViewModel { public string UserName { get; set; }