Entity Framework T4 Enhancements Part 1, Generate an IDatabase

0 Kicks, 98 Views

This post is part of a series on customizing the Entity Framework T4 templates
I have been using EF4 for a little while now, and have been taking advantage of the code-generation extensibility afforded to us by T4 templates. This series of posts will describe the enhancements I have made to the default T4 template, and how you can take advantage of this functionality yourself.
•Part 1 – Generate an IDatabase interface to represent your Data Context