Entity Framework Performance Tip - Be a Minimalist
Only get the data you need! This not only applies to Entity Framework query
performance, but just about every situation were code interacts with data. It
is a simple rule to follow, but yet I see it broken all the time. Breaking
this rule is one of the top three reasons I’ve seen for slow Entity Framework
query performance. I may discuss the other two in later posts …