Driving Templates with Metadata
One of the key features of CodeSmith Generator is that you can use many types of metadata in your templates. Template metadata provides the means for users to interact with templates and customize the output of those templates. You have many choices when defining the metadata in a template:
You can use any .NET type
You can use CodeSmith Generator's SchemaExplorer to interact with a database
You can use the XML support
You can build your own custom metadata sources, complete with designer and property set support