IRelationalParameter.AddDbParameter Yöntem

Tanım

Aşırı Yüklemeler

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

parametresini öğesine DbCommandolarak DbParameter ekler.

AddDbParameter(DbCommand, Object)

parametresini öğesine DbCommandolarak DbParameter ekler.

AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)

parametresini öğesine DbCommandolarak DbParameter ekler.

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

Parametreler

command
DbCommand

parametresinin ekleneceği komut.

parameterValues
IReadOnlyDictionary<String,Object>

Parametre değerlerinin eşlemesi

Şunlara uygulanır

AddDbParameter(DbCommand, Object)

parametresini öğesine DbCommandolarak DbParameter ekler.

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)

Parametreler

command
DbCommand

parametresinin ekleneceği komut.

value
Object

Parametresine atanacak değer.

Şunlara uygulanır