IRelationalParameter.AddDbParameter Método

Definición

Sobrecargas

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

Agrega el parámetro como a DbParameter un DbCommandobjeto .

AddDbParameter(DbCommand, Object)

Agrega el parámetro como a DbParameter un DbCommandobjeto .

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

Agrega el parámetro como a DbParameter un DbCommandobjeto .

public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameterValues);
public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object?>? parameterValues);
abstract member AddDbParameter : System.Data.Common.DbCommand * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Public Sub AddDbParameter (command As DbCommand, parameterValues As IReadOnlyDictionary(Of String, Object))

Parámetros

command
DbCommand

Comando al que se va a agregar el parámetro .

parameterValues
IReadOnlyDictionary<String,Object>

Mapa de valores de parámetro

Se aplica a

AddDbParameter(DbCommand, Object)

Agrega el parámetro como a DbParameter un DbCommandobjeto .

public void AddDbParameter (System.Data.Common.DbCommand command, object value);
public void AddDbParameter (System.Data.Common.DbCommand command, object? value);
abstract member AddDbParameter : System.Data.Common.DbCommand * obj -> unit
Public Sub AddDbParameter (command As DbCommand, value As Object)

Parámetros

command
DbCommand

Comando al que se va a agregar el parámetro .

value
Object

Valor que se va a asignar al parámetro.

Se aplica a