IRelationalParameter.AddDbParameter Metodo

Definizione

Overload

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

Aggiunge il parametro come oggetto DbParameter a .DbCommand

AddDbParameter(DbCommand, Object)

Aggiunge il parametro come oggetto DbParameter a .DbCommand

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

Aggiunge il parametro come oggetto DbParameter a .DbCommand

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

Parametri

command
DbCommand

Comando per aggiungere il parametro a.

parameterValues
IReadOnlyDictionary<String,Object>

Mappa dei valori dei parametri

Si applica a

AddDbParameter(DbCommand, Object)

Aggiunge il parametro come oggetto DbParameter a .DbCommand

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)

Parametri

command
DbCommand

Comando per aggiungere il parametro a.

value
Object

Valore da assegnare al parametro.

Si applica a