OracleParameter.ParameterName OracleParameter.ParameterName OracleParameter.ParameterName OracleParameter.ParameterName Property


Gets or sets the name of the OracleParameter.

 virtual property System::String ^ ParameterName { System::String ^ get(); void set(System::String ^ value); };
public override string ParameterName { get; set; }
member this.ParameterName : string with get, set
Public Overrides Property ParameterName As String

Property Value

The name of the OracleParameter. The default is an empty string.



The following example creates a OracleParameter and sets some of its properties.

Public Sub CreateOracleDbParameter()  
   Dim parameter As New OracleParameter()  
   parameter.ParameterName = "pDName"  
   parameter.DbType = DbType.String  
   parameter.Value = "ENGINEERING"  
   parameter.SourceColumn = "DName"  
End Sub  
public void CreateOracleDbParameter()   
   OracleParameter parameter = new OracleParameter();  
   parameter.ParameterName = "pDName";  
   parameter.DbType = DbType.String;  
   parameter.Value = "ENGINEERING";  
   parameter.SourceColumn = "DName";  


The .NET Framework Data Provider for Oracle does not support positional parameters that are marked with a question mark (?).

Applies to