Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

The CodeSmith.BaseTemplates sample project contains two classes that inherit from CodeTemplate. These classes can be used to add functionality to your templates by referencing them in the Inherits attribute of the CodeTemplate directive:

In addition, the project includes two utility classes that you can use via a reference to the CodeSmith.BaseTemplates assembly:

  • The StringUtil class includes methods for working with strings
  • The ScriptUtility class includes methods for working with SQL scripts

 

You can find this project in your extracted samples folder (Documents\CodeSmith Generator\Samples\<VERSION>\Projects\CSharp\BaseTemplates).

 

  • No labels