dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlScript Constructor / MySqlScript Constructor(String,MySqlConnection)
The text of the query.
A MySqlConnection object that represents the connection to a database.

In This Topic
MySqlScript Constructor(String,MySqlConnection)
In This Topic
Initializes a new instance of the MySqlScript class with the text of the query and a MySqlConnection object.
Syntax
'Declaration
 
Public Function New( _
   ByVal scriptText As String, _
   ByVal connection As MySqlConnection _
)
 

Parameters

scriptText
The text of the query.
connection
A MySqlConnection object that represents the connection to a database.
See Also