DbCommandMethod Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enum used by CommandEventData, an subclasses to indicate the method on DbCommand being used to execute the command.
public enum DbCommandMethod
type DbCommandMethod =
Public Enum DbCommandMethod
- Inheritance
-
DbCommandMethod
Fields
Name | Value | Description |
---|---|---|
ExecuteNonQuery | 0 | The ExecuteNonQuery() or ExecuteNonQueryAsync() method. |
ExecuteScalar | 1 | The ExecuteScalar() or ExecuteScalarAsync() method. |
ExecuteReader | 2 | The ExecuteReader() or ExecuteReaderAsync() method. |
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Entity Framework