I am using ASP.NET MVC 3 and Autofac for my dependency injection.I am using AutoMapper for my mapping.
Background: I\'m working on a webservice that I want to allow input that has a null field to mean, \"don\'t do an update\". The input object is very similar but not identical to the database model, so
Consider the following basic case: Mapper.CreateMap<FromBase, ToBase>() .Include<FromD1, ToD1>()
Is there some way to get some more detail from automapper when I get this exception: AutoMapper.AutoMapperMappingExce开发者_如何转开发ption
I am trying to map the following table setup, of which I have no control over (sorry for the text tables, I can\'t post images yet):
I\'m trying to find a way of configuring AutoMapper to set a property in a destination object with a reference of its source parent object. The code below shows what I\'m trying to achieve. I\'m movin
I have the following scenario: Due to an unfortunate legacy database, I have some classes mapped to NHibernate that I want to flatten into a DTO.It looks something like this:
Is it possible to use AutoMapper to map from Source to Destination conditionally resolving some properties based on the property value of another object?For example, mapping Source.Property to Destina
I\'m mapping my entities to DTOs, using AutoMapper. Some of my entities have virtual properties that may be overridden by derived entities. I\'m mapping the virtual properties using the base classes t
I found Automapper quite int开发者_运维知识库eresting from the concept. I however am trying to burn (or heat up) my fingers on it. Can somebody help me to start on this? I am yet to understand where f