Quick question - whats the difference in the following? This one works: CreateMap<OrderResult, OrderViewModel>()
we\'re using Automappe开发者_StackOverflowr (http://automapper.codeplex.com/) to map between entities and dto\'s. We have a situation where one property on an entity corresponds to three different pro
Using this approach to view models in MVC: http://www.lostechies.com/blogs开发者_开发知识库/jimmy_bogard/archive/2009/06/29/how-we-do-mvc-view-models.aspx
I have my viewmodel classes and also my wcf service classes (separate project). I need to convert the viewmodel classes to wcf classes and also the other way around. Currently I am using the following
I have following classes: public class TestClass { public int ID { get; set; } public string Name { get; set; }
For the longest time I\'ve been using AutoMapper to both map my domain models to my DTOs, as well as mapping my DTO back to domain models.
I\'m currently trying to figure out when to use ViewModels and when not to. I\'m using Automapper for the task and currently have the following code:
I have an interface IFoo: public interface IFoo { int Id { get; set; } } And then a concrete implementation:
I want to generate DTOs from entities in a totally automated way. By th开发者_JS百科at I mean some tool reading my .edmx model and converting it to DTO\'s. I\'ve seen this in stackoverflow but that is
I have a data access layer (DAL) using Entity Framework, and I want to use Automapper to communicate with upper layers.I will have to map data transfer objects (DTOs) to entities as the first operatio