dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleScript Class / OracleScript Constructor / OracleScript Constructor(TextReader,OracleConnection)
A TextReader object that contains the script text.
A OracleConnection object that represents the connection to a database.

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

    Parameters

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