In my last post I described the different types of entity that EF supports. But which type of entity should you use?
I was going to write a post about when to use change-tracking proxies. But I then thought before doing that it would be useful to go over all the different types of […]
In the last three posts we looked at an implementation of extra-lazy Count for EF 4.1 and how to reduce the Reflection cost of this implementation. However, when looking at LazyCountCollection it […]
In my previous two posts I showed how to implement an extra-lazy Count property using EF 4.1. However, the code required that a lot of .NET Reflection happen for every entity returned […]
Using LazyCountCollection in a model In part 1 we setup all the infrastructure for implementing an extra-lazy Count property with EF 4.1—now let’s actually use it!
Lazy loading Lazy loading of collections is the process whereby a collection of entities is automatically loaded from the database the first time that the collection property referring to the entities is […]