Autoprojecting LINQ queries | Jimmy Bogard's Blog - 0 views
-
Jacques Bosch on 07 Jun 11"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."