Skip to main content

Home/ Little Architecture Huddle/ Group items tagged automapper

Rss Feed Group items tagged

Jacques Bosch

Autoprojecting LINQ queries | Jimmy Bogard's Blog - 0 views

  •  
    "Something I've been looking at adding to AutoMapper was the idea of doing automatic query projection in the Select query projection in LINQ statements. One downside of AutoMapper is that projection from domain objects still forces the entire domain object to be queried and loaded. For a lot of read-only scenarios, loading up a tracked, persistent entity is a bit of a waste. And unless you're doing CQRS with read-specific tables, you're doing projection somehow from the write tables."
Jacques Bosch

Stop using AutoMapper in your Data Access Code | Blog | DevTrends - 2 views

  •  
    "A few months ago, Jimmy Bogard, author of the excellent AutoMapper wrote a great article about Autoprojecting LINQ queries. Now that Jimmy has done all the hard expression tree work, this article extends his example to include caching and simple flattening capabilities and goes on to show it in use in a simple EF 4.1 Code First application."
1 - 2 of 2
Showing 20 items per page