automapper
Map only changed properties?
Using AutoMapper, is it possible to map only the changed properties from the View Model to the Domain Object?[详细]
2023-02-28 09:10 分类:问答Automapper with Entity Framework inheritance
I suspect there is some simple configuration with AutoMapper to get the mapping I want, but I have no clue. Can anyone point me in the right direction?[详细]
2023-02-27 07:06 分类:问答Automapper error on simple conversion without CreateMap
I have these 2 models: public class SiteSettingsViewModel { public decimal SubscriptionFee { get; set; }[详细]
2023-02-27 05:14 分类:问答Automapper Question
I have four entities Organization and Addr开发者_开发技巧ess ..for the sake of brevity I have omitted all but the properties in question in my entities and viewmodels[详细]
2023-02-26 08:28 分类:问答AutoMapper problem with Dropdown
I´m started to work with AutoMapper today... But I´m having some problem with Dropdown model... What I have so far :[详细]
2023-02-25 19:41 分类:问答Mapping to CSLA objects using Automapper
I am trying to map a DTO object to a CSLA.NET (see: http://www.lhotka.net/cslanet/) object. For the sake of this question I am using the sample application that Lhotka provides with his framework. Bel[详细]
2023-02-24 05:18 分类:问答Where is the best place to map from view model to domain model?
Where is the best place to do mappings from view model to domain model?By mappings I mean from my EditGrantApplicationViewModel to a GrantApplication object.[详细]
2023-02-23 02:48 分类:问答Mapping one (entity class) to many (dto's/viewModels)
I am trying to map information about the User to several dto\'s, but I\'m getting null exceptions. Basically, the reason why I distributed the information among several classes is because there are co[详细]
2023-02-23 01:34 分类:问答Automapper - setting a custom type convertor for a member
Lets have two classes public class Source { public string Prop1 {get;set;} } public class Dest { publi开发者_如何学Cc float Prop1 {get;set;}[详细]
2023-02-22 05:28 分类:问答AutoMapper unsupported polymorphism?
Assume the following object hierarchy: class Customer { int Id { get; set; } string Name { get; set; } } class CustomerStubDTO[详细]
2023-02-20 17:15 分类:问答