Condividi tramite


AffectedCountModificationCommandBatch.ConsumeAsync Metodo

Definizione

Overload

ConsumeAsync(RelationalDataReader, CancellationToken)

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

ConsumeAsync(DbDataReader, CancellationToken)

ConsumeAsync(RelationalDataReader, CancellationToken)

Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs
Origine:
AffectedCountModificationCommandBatch.cs

Utilizza il lettore di dati creato da 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

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

Parametri

reader
DbDataReader
cancellationToken
CancellationToken

Restituisce

Si applica a