MigrationCommand.ExecuteNonQuery Yöntem

Tanım

Aşırı Yüklemeler

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

komutunu yürütür ve etkilenen satır sayısını döndürür.

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

komutunu yürütür ve etkilenen satır sayısını döndürür.

public virtual int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues = default);
public virtual int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object?>? parameterValues = default);
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> int
override this.ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> int
Public Overridable Function ExecuteNonQuery (connection As IRelationalConnection, Optional parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing) As Integer

Parametreler

connection
IRelationalConnection

Yürütülecek bağlantı.

parameterValues
IReadOnlyDictionary<String,Object>

Parametrelerin değerleri veya null komutun parametresi yoksa.

Döndürülenler

Etkilenen satır sayısı.

Şunlara uygulanır

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)

public virtual int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues = default, bool manageConnection = true);
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> int
override this.ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> int
Public Overridable Function ExecuteNonQuery (connection As IRelationalConnection, Optional parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing, Optional manageConnection As Boolean = true) As Integer

Parametreler

parameterValues
IReadOnlyDictionary<String,Object>
manageConnection
Boolean

Döndürülenler

Şunlara uygulanır