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 https://github.com/danemorgridge/efrepo
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 (http://thedatafarm.com/blog/) and Joachim Lykke Andersen (http://devtalk.dk) for posts that helped get this going.