AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagationAsync Método

Definición

Sobrecargas

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Consume el lector de datos creado por ExecuteAsync(IRelationalConnection, CancellationToken), propagando valores de nuevo a ModificationCommand.

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Consume el lector de datos creado por ExecuteAsync(IRelationalConnection, CancellationToken), propagando valores de nuevo a 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

Ordinal del comando que se va a consumir.

reader
RelationalDataReader

Lector de datos.

cancellationToken
CancellationToken

que CancellationToken se va a observar mientras espera a que se complete la tarea.

Devoluciones

Tarea que representa la operación asincrónica. La tarea contiene el ordinal del siguiente comando que se debe consumir.

Excepciones

Se aplica 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

Devoluciones

Se aplica a