0
kicks
Entity Framework: Abstracting ObjectContext
If you want to be able to inject your ObjectContext using IoC (perhaps in a custom controller factory for MVC) and maintain a high level of testability you're going to need an interface that exposes not just the members of your custom object context, but also the members of the base ObjectContext - this article will show you how you can achieve those goals.