iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

ScriptRunner.RunScript Method (IDataSource, String, Boolean)

Run an sql script

[Visual Basic]
Overloads Public Sub RunScript( _
   ByVal IDataSource As IDataSource, _
   ByVal String As String, _
   ByVal Boolean As Boolean _
)
[C#]
public void RunScript(
   IDataSource dataSource,
   String sqlScriptPath,
   Boolean doParse
);

Parameters

dataSource
The dataSouce that will be used to run the script.
sqlScriptPath
a path to an sql script file.
doParse
parse out the statements in the sql script file.

See Also

ScriptRunner Class | IBatisNet.Common.Utilities Namespace | ScriptRunner.RunScript Overload List