dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlScript Constructor / MySqlScript Constructor(TextReader,MySqlConnection)
A TextReader object that contains the script text.
A MySqlConnection object that represents the connection to a database.

In This Topic
    MySqlScript Constructor(TextReader,MySqlConnection)
    In This Topic
    Initializes a new instance of the MySqlScript class with a TextReader object to get SQL statements from and a MySqlConnection object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal reader As TextReader, _
       ByVal connection As MySqlConnection _
    )
    public MySqlScript( 
       TextReader reader,
       MySqlConnection connection
    )

    Parameters

    reader
    A TextReader object that contains the script text.
    connection
    A MySqlConnection object that represents the connection to a database.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also