Projecting Onto a Presentation Model with the Entity Framework and ASP

added by CraigStuntz
1/5/2010 8:07:00 AM

0 Kicks, 83 Views

In this post, I will demonstrate how to map entity models to views in an ASP.NET MVC application without worrying about implementation details like eager loading, lazy loading, or having to manually optimize SQL for the task at hand. I will argue that expressing the relationship between an entity model in the presentation model in a LINQ projection is far simpler than other methods of doing this mapping.


0 comments