다음을 통해 공유


AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagationAsync 메서드

정의

오버로드

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

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

ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

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

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

매개 변수

commandIndex
Int32

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

reader
RelationalDataReader

데이터 판독기입니다.

cancellationToken
CancellationToken

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

반환

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

예외

적용 대상

ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)

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

매개 변수

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

반환

적용 대상