OracleParameterCollection Class
Collects all parameters relevant to a
OracleCommand as well as their respective mappings to
System.Data.DataSet columns.
The following example adds instance of
OracleParameter to collection.
public void AddOracleParameters()
{
// Create myConnection and myCommand.
myCommand.CommandText = "DELETE Test.Dept WHERE DeptNo = :DeptNo";
myCommand.Parameters.Add("DeptNo", OracleDbType.Integer).Value = 50;
myCommand.ExecuteNonQuery();
}
Public Sub AddOracleParameters()
// Create myConnection and myCommand.
myCommand.CommandText = "DELETE Test.Dept WHERE DeptNo = :DeptNo"
myCommand.Parameters.Add("DeptNo", OracleDbType.Integer).Value = 50
myCommand.ExecuteNonQuery()
End Sub 'AddOracleParameters
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2