संपादित करें

इसके माध्यम से साझा किया गया


DbCommandBuilder.GetParameterName Method

Definition

Returns the name of the specified parameter.

Overloads

GetParameterName(Int32)

Returns the name of the specified parameter in the format of @p#. Use when building a custom command builder.

GetParameterName(String)

Returns the full parameter name, given the partial parameter name.

GetParameterName(Int32)

Source:
DBCommandBuilder.cs
Source:
DBCommandBuilder.cs
Source:
DBCommandBuilder.cs

Returns the name of the specified parameter in the format of @p#. Use when building a custom command builder.

protected:
 abstract System::String ^ GetParameterName(int parameterOrdinal);
protected abstract string GetParameterName (int parameterOrdinal);
abstract member GetParameterName : int -> string
Protected MustOverride Function GetParameterName (parameterOrdinal As Integer) As String

Parameters

parameterOrdinal
Int32

The number to be included as part of the parameter's name.

Returns

The name of the parameter with the specified number appended as part of the parameter name.

See also

Applies to

GetParameterName(String)

Source:
DBCommandBuilder.cs
Source:
DBCommandBuilder.cs
Source:
DBCommandBuilder.cs

Returns the full parameter name, given the partial parameter name.

protected:
 abstract System::String ^ GetParameterName(System::String ^ parameterName);
protected abstract string GetParameterName (string parameterName);
abstract member GetParameterName : string -> string
Protected MustOverride Function GetParameterName (parameterName As String) As String

Parameters

parameterName
String

The partial name of the parameter.

Returns

The full parameter name corresponding to the partial parameter name requested.

See also

Applies to