OracleParameter.ParameterName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the OracleParameter.
public:
property System::String ^ ParameterName { System::String ^ get(); void set(System::String ^ value); };
public:
virtual property System::String ^ ParameterName { System::String ^ get(); void set(System::String ^ value); };
public string ParameterName { get; set; }
public override string ParameterName { get; set; }
member this.ParameterName : string with get, set
Public Property ParameterName As String
Public Overrides Property ParameterName As String
Property Value
The name of the OracleParameter. The default is an empty string.
Implements
Examples
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";
}
Remarks
The .NET Framework Data Provider for Oracle does not support positional parameters that are marked with a question mark (?).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.