Jazyk

AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagationAsync Metoda

Definice

Přetížení

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Zdroj:
AffectedCountModificationCommandBatch.cs
Zdroj:
AffectedCountModificationCommandBatch.cs
Zdroj:
AffectedCountModificationCommandBatch.cs
Zdroj:
AffectedCountModificationCommandBatch.cs
Zdroj:
AffectedCountModificationCommandBatch.cs
Zdroj:
AffectedCountModificationCommandBatch.cs

Využívá čtečku dat vytvořenou ExecuteAsync(IRelationalConnection, CancellationToken) bez šíření hodnot zpět do objektu 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)

Parametry

commandIndex
Int32

Pořadové číslo příkazu, který se spotřebovává.

reader
RelationalDataReader

Čtečka dat.

cancellationToken
CancellationToken

A CancellationToken , která se má sledovat při čekání na dokončení úkolu.

Návraty

Úloha, která představuje asynchronní operaci. Úkol obsahuje pořadový řádek dalšího příkazu, který musí být spotřebován.

Výjimky

Platí pro

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)

Parametry

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

Návraty

Platí pro