Sprache

AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagationAsync Methode

Definition

Überlädt

ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)

Quelle:
AffectedCountModificationCommandBatch.cs
Quelle:
AffectedCountModificationCommandBatch.cs
Quelle:
AffectedCountModificationCommandBatch.cs
Quelle:
AffectedCountModificationCommandBatch.cs
Quelle:
AffectedCountModificationCommandBatch.cs
Quelle:
AffectedCountModificationCommandBatch.cs

Verwendet den datenleser, der erstellt wurde, ohne ExecuteAsync(IRelationalConnection, CancellationToken) Werte zurück in die 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)

Parameter

commandIndex
Int32

Die Ordnungszahl des zu verwendenden Befehls.

reader
RelationalDataReader

Der Datenleser.

cancellationToken
CancellationToken

A CancellationToken , um zu beobachten, während sie auf den Abschluss der Aufgabe warten.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt. Die Aufgabe enthält die Ordnungszahl des nächsten Befehls, der verbraucht werden muss.

Ausnahmen

Wenn der CancellationToken Vorgang abgebrochen wird.

Gilt für:

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)

Parameter

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

Gibt zurück

Gilt für: