Share via


IRelationalParameterBuilder.AddRawParameter(String, DbParameter) Method

Definition

Adds a parameter.

public void AddRawParameter (string invariantName, System.Data.Common.DbParameter dbParameter);
abstract member AddRawParameter : string * System.Data.Common.DbParameter -> unit
Public Sub AddRawParameter (invariantName As String, dbParameter As DbParameter)

Parameters

invariantName
String

The key that identifies this parameter. Note that IRelationalParameter just represents a placeholder for a parameter and not the actual value. This is because the same command can be reused multiple times with different parameter values.

dbParameter
DbParameter

The DbParameter being added.

Applies to