The CodeSmith studio has an underlying API of components
that you can use in your CodeSmith scripts. One of the namespaces is the
SchemaExplorer, which allows you to connect to a database and reflect on its tables
and columns, and read its metadata. This allows you to write more functional
templates. We are going to look at this object and some of its properties in
this article.