This class can be used to execute SQL scripts on a database. It takes a SQL script, parsers out the GO's and executes each batch remembering the correct line numbers.

Namespace: CodeSmith.BaseTemplates
Assembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public class ScriptUtility
Visual Basic
Public Class ScriptUtility

Inheritance Hierarchy

System..::..Object
  CodeSmith.BaseTemplates..::..ScriptUtility

See Also