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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.