ReaderModificationCommandBatch.ConsumeAsync Metodo

Definizione

Overload

ConsumeAsync(RelationalDataReader, CancellationToken)

Utilizza il lettore di dati creato da ExecuteAsync(IRelationalConnection, CancellationToken).

ConsumeAsync(DbDataReader, CancellationToken)

ConsumeAsync(RelationalDataReader, CancellationToken)

Utilizza il lettore di dati creato da ExecuteAsync(IRelationalConnection, CancellationToken).

protected abstract System.Threading.Tasks.Task ConsumeAsync (Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader, System.Threading.CancellationToken cancellationToken = default);
abstract member ConsumeAsync : Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride Function ConsumeAsync (reader As RelationalDataReader, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

reader
RelationalDataReader

Lettore di dati.

cancellationToken
CancellationToken

Oggetto CancellationToken da osservare durante l'attesa del completamento dell'attività.

Restituisce

Attività che rappresenta l'operazione asincrona.

Eccezioni

Si applica a

ConsumeAsync(DbDataReader, CancellationToken)

protected abstract System.Threading.Tasks.Task ConsumeAsync (System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken = default);
abstract member ConsumeAsync : System.Data.Common.DbDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride Function ConsumeAsync (reader As DbDataReader, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

reader
DbDataReader
cancellationToken
CancellationToken

Restituisce

Si applica a