This is the location of the most up-to-date version of the unofficial DB2 Schema Provider for CodeSmith 3.x. This provider uses IBM's DB2 provider for .NET. Obviously, you will need to have the IBM DB2 client software installed prior to use.
The source and the compiled binary are attached in separate ZIP files to this message. To "install" the provider, just copy the following files (from the binaries zip) to your C:\Program Files\CodeSmith\v3.0\SchemaProviders (or equivalent) folder:
- SchemaExplorer.Db2SchemaProvider.dll
- SchemaExplorer.Db2SchemaProvider.dll.config
Many of the features available in the Oracle Schema Provider are available in this DB2 version since they share the same basic source code. Unfortunately, I don't have the time to fully document the specifics of this library. For example, many of the same CS_* extended properties are available, and there is support for the CODESMITH_EXTENDED_PROPERTIES table for use with your templates.
Also, the config file is simple and well documented. You should review this before actually using the provider just to know what options are available to you that control some of the provider's behavior.
Enjoy,
Geoff McElhanon