This project provides T4 Templates for generating Repository layer code on top of Entity Framework database first. There are NuGet packages targeting each major version of Entity Framework. ObjectContext based EF is supported from 4.3.1 onwards and DbContext from 5.