Add(string, OracleDbType)

This method adds an OracleParameter object to the collection using the supplied name and database type.

Declaration

// C#
public OracleParameter Add(string name, OracleDbType dbType);

Parameters

  • name

    The parameter name.

  • dbType

    The data type of the OracleParameter.

Return Value

The newly created OracleParameter object which was added to the collection.