Compartir a través de


AffectedCountModificationCommandBatch.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:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs

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

protected override System.Threading.Tasks.Task ConsumeAsync (Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader, System.Threading.CancellationToken cancellationToken = default);
override this.ConsumeAsync : Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides 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 override System.Threading.Tasks.Task ConsumeAsync (System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken = default);
override this.ConsumeAsync : System.Data.Common.DbDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function ConsumeAsync (reader As DbDataReader, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

reader
DbDataReader
cancellationToken
CancellationToken

Devoluciones

Se aplica a