Compartilhar via


AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagationAsync Método

Definição

Sobrecargas

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Consome o leitor de dados criado pelo ExecuteAsync(IRelationalConnection, CancellationToken), propagando valores de volta para o ModificationCommand.

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Origem:
AffectedCountModificationCommandBatch.cs
Origem:
AffectedCountModificationCommandBatch.cs
Origem:
AffectedCountModificationCommandBatch.cs
Origem:
AffectedCountModificationCommandBatch.cs
Origem:
AffectedCountModificationCommandBatch.cs
Origem:
AffectedCountModificationCommandBatch.cs

Consome o leitor de dados criado pelo ExecuteAsync(IRelationalConnection, CancellationToken), propagando valores de volta para o 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)

Parâmetros

commandIndex
Int32

O ordinal do comando que está sendo consumido.

reader
RelationalDataReader

O leitor de dados.

cancellationToken
CancellationToken

Um CancellationToken a ser observado enquanto aguarda a conclusão da tarefa.

Retornos

Uma tarefa que representa a operação assíncrona. A tarefa contém o ordinal do próximo comando que deve ser consumido.

Exceções

Se o padrão CancellationToken for cancelado.

Aplica-se a

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)

Parâmetros

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

Retornos

Aplica-se a