Skip to content

Visual Studio Extension for a Unit-Testable DbContext Code Generator

Notifications You must be signed in to change notification settings

kavika13/TestableDbContextCodeGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Visual Studio 2010 Extension for creating Entity Framework 4.1 (or greater) Entity model code generators.

To install the extension, simply grab the latest release from the Downloads Page, extract the Zip file, and run the extension installer.

Use the generators just like you would the existing DbContext code generators. Simply right click on your Edmx model and click Add Code Generation Item...

The code that gets created has a DbContext that is derived from a mockable interface (Unit of Work Pattern), which exposes the Entity Repositories as IDbSet<TEntity>.

Pretty simple.

See my (currently incompletely) blog entries on the subject:

About

Visual Studio Extension for a Unit-Testable DbContext Code Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages