Compartir a través de


ReaderModificationCommandBatch.ConsumeAsync Método

Definición

Sobrecargas

ConsumeAsync(RelationalDataReader, CancellationToken)

Consume el lector de datos creado por ExecuteAsync(IRelationalConnection, CancellationToken).

ConsumeAsync(DbDataReader, CancellationToken)

ConsumeAsync(RelationalDataReader, CancellationToken)

Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs

Consume el lector de datos creado por 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

Parámetros

reader
RelationalDataReader

Lector de datos.

cancellationToken
CancellationToken

Que CancellationToken se debe observar mientras se espera a que se complete la tarea.

Devoluciones

Tarea que representa la operación asincrónica.

Excepciones

Se aplica 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

Parámetros

reader
DbDataReader
cancellationToken
CancellationToken

Devoluciones

Se aplica a