다음을 통해 공유


AffectedCountModificationCommandBatch.ConsumeAsync 메서드

정의

오버로드

ConsumeAsync(RelationalDataReader, CancellationToken)

에서 만든 ExecuteAsync(IRelationalConnection, CancellationToken)데이터 판독기를 사용합니다.

ConsumeAsync(DbDataReader, CancellationToken)

ConsumeAsync(RelationalDataReader, CancellationToken)

에서 만든 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

매개 변수

reader
RelationalDataReader

데이터 판독기입니다.

cancellationToken
CancellationToken

CancellationToken 작업이 완료 될 때까지 기다리는 동안 관찰할 입니다.

반환

비동기 작업(operation)을 나타내는 작업(task)입니다.

예외

적용 대상

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

매개 변수

reader
DbDataReader
cancellationToken
CancellationToken

반환

적용 대상