RelationalCommandExtensions Class
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.
Extension methods typically used by internal code and database providers to execute commands on the low-level IRelationalCommand abstraction.
public static class RelationalCommandExtensions
type RelationalCommandExtensions = class
Public Module RelationalCommandExtensions
- Inheritance
-
RelationalCommandExtensions
Methods
ExecuteNonQuery(IRelationalCommand, IRelationalConnection) |
Executes the command with no results. |
ExecuteNonQueryAsync(IRelationalCommand, IRelationalConnection, CancellationToken) |
Asynchronously executes the command with no results. |
ExecuteReader(IRelationalCommand, IRelationalConnection) |
Executes the command with a RelationalDataReader result. |
ExecuteReaderAsync(IRelationalCommand, IRelationalConnection, CancellationToken) |
Asynchronously executes the command with a RelationalDataReader result. |
ExecuteScalar(IRelationalCommand, IRelationalConnection) |
Executes the command with a single scalar result. |
ExecuteScalarAsync(IRelationalCommand, IRelationalConnection, CancellationToken) |
Asynchronously executes the command with a single scalar result. |
Applies to
Entity Framework