Entity Framework: Abstracting ObjectContext(developmentalmadness.blogspot.com)
submitted by
freedomdumlao(15) 3 years ago
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.
|category: ADO.NET
|Views: 171
tags:
ADO.NET Database another
Everyones tags:
Your Tags: