Hi people!
Chris: Yes, I know and use the templates and the business object code generation wizard.
My code generation tasks and templates, are using an abstract model, and after reading that, generates a complete solution (business objects, partial classes, win form project, store procedures, database creation scripts) a la Mere Mortals. I'll write a blog post explaning this process in detail. Actually, you can see the work at
http://ajgenesis.codeplex.com/sourcecontrol/changeset/view/55041?projectName=ajgenesisexamples/MereMortalsExamples
and using the bin release 0.5 of AjGenesis, run from that folder:
GenerateProject.cmd AjFirstExample VbNet3
(in other examples, the same model and others, are used to generate PHP/MySql, Java/JSP/Hibernate, NHibernate, VB2, C#2/3, Linq, some WCF.... solutions)
In my team, in current project, we are using other tasks and templates, that read directly the MS Sql Server database (instead of an abstract model), loads metadata (with some validation simple rules, parent/child relations, legends to use in UI...), generates a complete Web solution, with business objects, validations, rules, stored procedures, etc... And if the database changes, we can regenerate the solution, without losing the partial classes and other text artifacts that were modified manually. And we extends the business objects with more behavior, automatically generated. We are building parent/child(ren) web pages, security, etc....
Any other code generation work published for Mere Mortals? I didn't check My Generation Software template library, yet.
Angel "Java" Lopez
http://www.ajlopez.comhttp://twitter.com/ajlopez