英語で読む

次の方法で共有


DbCommandMethod 列挙型

定義

によって CommandEventData使用される列挙型。コマンドの実行に DbCommand 使用される メソッドを示すサブクラスです。

C#
public enum DbCommandMethod
継承
DbCommandMethod

フィールド

ExecuteNonQuery 0

ExecuteNonQuery() メソッドまたは ExecuteNonQueryAsync() メソッド。

ExecuteReader 2

ExecuteReader() メソッドまたは ExecuteReaderAsync() メソッド。

ExecuteScalar 1

ExecuteScalar() メソッドまたは ExecuteScalarAsync() メソッド。

適用対象

製品 バージョン
Entity Framework Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0