IRelationalCommand Interface
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.
A command to be executed against a relational database.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public interface IRelationalCommand
public interface IRelationalCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandTemplate
type IRelationalCommand = interface
type IRelationalCommand = interface
interface IRelationalCommandTemplate
Public Interface IRelationalCommand
Public Interface IRelationalCommand
Implements IRelationalCommandTemplate
- Derived
- Implements
Remarks
See Implementation of database providers and extensions for more information and examples.
Properties
CommandText |
Gets the command text to be executed. |
Parameters |
Gets the parameters for the command. |
Methods
Extension 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