Udostępnij za pośrednictwem


MigrationCommand.ExecuteNonQuery Metoda

Definicja

Przeciążenia

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Wykonuje polecenie i zwraca liczbę wierszy, których dotyczy problem.

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

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs
Źródło:
MigrationCommand.cs

Wykonuje polecenie i zwraca liczbę wierszy, których dotyczy problem.

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

Parametry

connection
IRelationalConnection

Połączenie do wykonania.

parameterValues
IReadOnlyDictionary<String,Object>

Wartości parametrów lub null jeśli polecenie nie ma parametrów.

Zwraca

Liczba wierszy, których dotyczy problem.

Dotyczy

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

Parametry

parameterValues
IReadOnlyDictionary<String,Object>
manageConnection
Boolean

Zwraca

Dotyczy