ReaderModificationCommandBatch.ConsumeAsync Yöntem

Tanım

Aşırı Yüklemeler

ConsumeAsync(RelationalDataReader, CancellationToken)

tarafından oluşturulan veri okuyucuyu tüketir ExecuteAsync(IRelationalConnection, CancellationToken).

ConsumeAsync(DbDataReader, CancellationToken)

ConsumeAsync(RelationalDataReader, CancellationToken)

tarafından oluşturulan veri okuyucuyu tüketir 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

Parametreler

reader
RelationalDataReader

Veri okuyucu.

cancellationToken
CancellationToken

CancellationToken Görevin tamamlanmasını beklerken gözlemlemek için bir.

Döndürülenler

Zaman uyumsuz işlemi temsil eden görev.

Özel durumlar

Şunlara uygulanır

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

Parametreler

reader
DbDataReader
cancellationToken
CancellationToken

Döndürülenler

Şunlara uygulanır