This project is read-only.

Project Description
T4 Template for Entity Framework 4 for creating a data access layer using the repository and unit of work patterns. Designed to work well with dependency injection frameworks. When dropped in a folder with an .edmx file, it will generate all necessary files.

I'm moving this project to github at 

In addition, I am working on new samples including updates for EF 4.1 for the DbContext and a binary option for Code First.  Any comments that you have, please log them there.





It works best when using the POCO classes, but will still function with normal Entity Framework classes.

Please keep an eye on my blog for more in-depth walkthroughs:

Credit to Julie Lerman ( and Joachim Lykke Andersen ( for posts that helped get this going.

Last edited Apr 4, 2011 at 4:54 AM by danemorgridge, version 5