This project is read-only.

Custom generators support

Oct 26, 2011 at 3:33 PM
Edited Oct 26, 2011 at 3:37 PM

Please can you add some extra fields in the model to support custom generators? I think this will be useful for all people doing customizations.

1 - Add a Tag property in the model for every table and every field.

In my custom generator, I would like to check this tag field to do custom checkings by applying custom conventions in the fields and tables, something like:

 

if (_table.Tag == "myCustomInfo" {

... //custom code

}

if (_tableField.Tag == ""

{

//custom code

}

 

Currently, I'm using the FriendlyName field for tag/custom data, but I think is not so hard to add this extra field in the model for customizations.

2 - Add a Select All/Unselect All checkbox in the "Choose the generators that will create your code" form.

Oct 26, 2011 at 6:58 PM

this is what I'm doing, consming the out-of-the-box DAL generators and WCF service, and including a custom generator for Silverlight Client application.

 

http://www.youtube.com/watch?v=l-ymzfmK_io

 

this is a "Work in progress" version.