Partilhar via


AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagationAsync Método

Definição

Sobrecargas

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Consome o leitor de dados criado por ExecuteAsync(IRelationalConnection, CancellationToken) sem propagar valores de volta para o ModificationCommand.

ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithoutPropagationAsync(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 por ExecuteAsync(IRelationalConnection, CancellationToken) sem propagar valores de volta para o 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)

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

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)

Parâmetros

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

Retornos

Aplica-se a