다음을 통해 공유


AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagationAsync 메서드

정의

오버로드

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

에서 만든 ExecuteAsync(IRelationalConnection, CancellationToken)데이터 판독기를 사용하여 값을 로 다시 ModificationCommand전파합니다.

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

에서 만든 ExecuteAsync(IRelationalConnection, CancellationToken)데이터 판독기를 사용하여 값을 로 다시 ModificationCommand전파합니다.

protected virtual System.Threading.Tasks.Task<int> ConsumeResultSetWithPropagationAsync (int commandIndex, Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader, System.Threading.CancellationToken cancellationToken);
abstract member ConsumeResultSetWithPropagationAsync : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.ConsumeResultSetWithPropagationAsync : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Protected Overridable Function ConsumeResultSetWithPropagationAsync (commandIndex As Integer, reader As RelationalDataReader, cancellationToken As CancellationToken) As Task(Of Integer)

매개 변수

commandIndex
Int32

사용 중인 명령의 서수입니다.

reader
RelationalDataReader

데이터 판독기입니다.

cancellationToken
CancellationToken

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

반환

비동기 작업(operation)을 나타내는 작업(task)입니다. 작업에는 사용해야 하는 다음 명령의 서수가 포함되어 있습니다.

예외

적용 대상

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

protected virtual System.Threading.Tasks.Task<int> ConsumeResultSetWithPropagationAsync (int commandIndex, System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken);
abstract member ConsumeResultSetWithPropagationAsync : int * System.Data.Common.DbDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
override this.ConsumeResultSetWithPropagationAsync : int * System.Data.Common.DbDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Protected Overridable Function ConsumeResultSetWithPropagationAsync (commandIndex As Integer, reader As DbDataReader, cancellationToken As CancellationToken) As Task(Of Integer)

매개 변수

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

반환

적용 대상