dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniScript Class / UniScript Constructor / UniScript Constructor(TextReader,UniConnection)
A TextReader object that contains the script text.
A UniConnection object that represents the connection to a database.

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

    Parameters

    reader
    A TextReader object that contains the script text.
    connection
    A UniConnection object that represents the connection to a database.
    See Also