This project is read-only.

Early Release

Rating: No reviews yet
Downloads: 44
Updated: Apr 11, 2009 by ruairiSpain
Dev status: Planning Help Icon

Recommended Download

Application Realase 0.0.0000001!
application, 15607K, uploaded Apr 11, 2009 - 44 downloads

Release Notes

This is an early relase of a set of T4 scripts that generate the Model classes from an Entity Framework .edmx file. There is a lot of generated code so if you don't like that kind of thing ...ignore this project.

The Model.T4 creates a Repository and Service Layer for each table and for the moment the controller use hard coded constrcutors, no Castle or Unity for the moment. The Model.T4 creates unit tests for fake repositories. The end result is a folder structure like:

Custom (folder for xVal buddy classes & partial class for custom service methods)
Interface (folder with Repository & Service interfaces)
Repository (folder with Repository for talking to EF or Fake objects)
Service (folder with CRUD service functions... if you need to change these edit the Custom/Service.cs files)
Tests (folder for some simple MSUnit tests....not great needs work!)
Validation (folder for ModelState Wrappers, needs to organise this better...maybe move the xVal buddy classes here)

The idea is that you use the Custom folder to add/remove functionality.

More later.....