Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


DbContext Template

AddThis Social Bookmark Button
I just committed a new version of the T4 templates that includes one for using with the DbContext generator. There are some small changes under the covers, but the API remains the same for working with it. Once you add a the ADO.NET DbContext Generator to your .edmx file you can use the new T4 template for generating your repositories and unit of work. In doing this I modified the project structure just a tad and added a folder for ObjectContext and DbContext templates. I’m working on samples, specifically an ASP.NET MVC 3 one that uses dependency injection. A few weeks ago I
pushed a binary only version that can be used with Code First and it has been updated to work with the new 4.1 RTM release. For more info and to download the 4.1 release go to whole news on source site)

Home : Blog List : Dane Morgridge : DbContext Template