Skip to content
| Marketplace
Sign in
Visual Studio>Templates>ADO.NET Mockable Entity Object Generator
ADO.NET Mockable Entity Object Generator

ADO.NET Mockable Entity Object Generator

Dmitry Gurinovich

|
2,386 installs
| (1) | Free
Generates strongly typed ObjectContext classes, their interfaces, strongly typed Entity Object classes and Complex Object classes from your EDMX file. Every class is placed in a separate file. The interface is useful for dependency injection and context mocking in unit tests. ...
Download

This template is identical to the 'ADO.NET EntityObject Generator' except that it generates the interfaces for the strongly typed ObjectContext classes and places each type in a separate file. The generated interface simplifies the integration of the strongly typed ObjectContext objects into the projects where dependency injection is used and allows to apply unit testing to the classes dependant on strongly typed ObjectContext objects.

Once installed, you can right-click on the EDM Designer surface and select "Add Code Generation Item..." from the menu.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft