This template auto-generates Repositories and a Unit of Work for your ADO.NET Entity Data Model, allowing you to Mock and Unit Test Entity Framework. After installing the template, Navigate to the folder your EDMX file is located and select Add New Item. You will find the Repository and Unit of Work template in the Data section.
The only change you have to make is pointing the T4 template to your EDMX file. Hit save and you're done.
Example Code: Updates in v1.2.1
Updates in v1.2.0
|