6.2.2.3 OracleCommand(string, OracleConnection)

This constructor instantiates a new instance of OracleCommand class using the supplied SQL command or stored procedure, and connection to the Oracle database.

Declaration

// C#
public OracleCommand(string cmdText, OracleConnection OracleConnection);

Parameters

  • cmdText

    The SQL command or stored procedure to be executed.

  • OracleConnection

    The connection to the Oracle database.