dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlScript Class / PgSqlScript Constructor / PgSqlScript Constructor(String,PgSqlConnection)
The text of the query.
A PgSqlConnection object that represents the connection to a database.

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

    Parameters

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