ScriptUtility
To use the functions in the ScriptUtil class, you should set a reference to the CodeSmith.Engine assembly and import its namespace:
<%@ Assembly Name="CodeSmith.Engine" %> <%@ Import Namespace="CodeSmith.Engine" %>
The ScriptUtil class includes a single static method to execute a SQL script against a supplied connection. You'll find this method useful when you want to execute generated SQL scripts.