次の方法で共有


MigrationCommand.ExecuteNonQuery メソッド

定義

オーバーロード

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

コマンドを実行し、影響を受ける行数を返します。

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

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs
ソース:
MigrationCommand.cs

コマンドを実行し、影響を受ける行数を返します。

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

パラメーター

connection
IRelationalConnection

実行する接続。

parameterValues
IReadOnlyDictionary<String,Object>

パラメーターの値。コマンド null にパラメーターがない場合は 。

戻り値

影響を受けた行の数。

適用対象

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

パラメーター

parameterValues
IReadOnlyDictionary<String,Object>
manageConnection
Boolean

戻り値

適用対象