CodeSmith v3.1 has just been released, which is a free upgrade to CodeSmith v3.0 customers. If you haven't tried CodeSmith for your .NET Code Generation needs, I highly recommend you download the free trial. CodeSmith v3.1 adds the following new features:
- Custom designer support for ColumnSchema and ColumnSchemaCollection.
- A new OnError virtual method for the CodeTemplate class.
- A new ParseDefaultValue method for IPropertySerializer (used by the ParseDefaultValue method of CodeTemplate).
- The sample custom properties project now demonstrates property serialization.
- Default values are parsed for all types that support conversion from string.
- Numerous other minor bug fixes and user interface enhancements.
CodeSmith also comes with a new user's guide. The new User's Guide includes tutorials, complete documentation of the CodeSmith template syntax, information on the CodeSmith Explorer and CodeSmith Studio clients, advice on integrating CodeSmith into your own processes, and strategies for merging code and using CodeSmith for active code generation. The User's Guide complements the existing API Reference to give CodeSmith a comprehensive help system for users of all skill levels.
I keep a complete list of .NET Code Generators and O/R Mappers at the following locations if you are ever interested: