Code Generation with Codesmith Tools
Codesmith is a template-base code generator that can produce code for any text-based language.
Codesmith syntax asp.net and based on dot net scripting engine. Codesmith template is very flexible. You can use c# or vb to create template but the target language can be anything. There's many ready-made template and there is active online community and sample from the installer.
You can used Codesmith for generate strongly type collection, data access layers, store procedure, web form, windows form.
There is 2 version of codesmith standard and professional edition, the professional edition has CodeSmith Studio template IDE.
I choose codesmith because codesmith template base on .net language and you can use all .net namespace within codesmith
You can check CodeSmith Tools from http://www.codesmithtools.com/
the latest version is 4.0
For another Code Generation tools you check http://codegeneration.net/