DbCommandBuilder.GetParameterName DbCommandBuilder.GetParameterName DbCommandBuilder.GetParameterName DbCommandBuilder.GetParameterName Method

Definition

Returns the name of the specified parameter.

Overloads

GetParameterName(Int32) GetParameterName(Int32) GetParameterName(Int32) GetParameterName(Int32)

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

GetParameterName(String) GetParameterName(String) GetParameterName(String) GetParameterName(String)

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

GetParameterName(Int32) GetParameterName(Int32) GetParameterName(Int32) GetParameterName(Int32)

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 Int32 Int32 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

GetParameterName(String) GetParameterName(String) GetParameterName(String) GetParameterName(String)

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 String String String

The partial name of the parameter.

Returns

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

See also

Applies to