Redigera

Dela via


DbCommandBuilder.GetParameterPlaceholder(Int32) Method

Definition

Returns the placeholder for the parameter in the associated SQL statement.

protected:
 abstract System::String ^ GetParameterPlaceholder(int parameterOrdinal);
protected abstract string GetParameterPlaceholder (int parameterOrdinal);
abstract member GetParameterPlaceholder : int -> string
Protected MustOverride Function GetParameterPlaceholder (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.

Remarks

This method is intended for use by provider writers building a custom command builder.

Applies to

See also