NpgsqlCommand Constructor (String, NpgsqlConnection)
      
     
    
       Initializes a new instance of the NpgsqlCommand class with the text of the query and a NpgsqlConnection. 
      
      
      Parameters
      
        - 
          cmdText
        
- The text of the query.
- 
          connection
        
- A NpgsqlConnection that represents the connection to a PostgreSQL server.
See Also
      
        NpgsqlCommand Class | Npgsql Namespace | NpgsqlCommand Constructor Overload List