Share via


RelationalCommandExtensions Class

Definition

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