Efficient Queries Using LINQ and Projections
摘要
In this chapter, you are going to learn how to use queries in complex scenarios to get the data you want while maximizing efficiency. When working with the database and discussing efficiency, there are really two major concerns. The first concern is execution speed, and the second concern is the amount of overhead caused by the query – typically in terms of memory and CPU utilization.