共用方式為


AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagationAsync 方法

定義

多載

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

取用 所 ExecuteAsync(IRelationalConnection, CancellationToken) 建立的資料讀取器,將值傳播回 ModificationCommand

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)

來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs

取用 所 ExecuteAsync(IRelationalConnection, CancellationToken) 建立的資料讀取器,將值傳播回 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)

參數

commandIndex
Int32

所取用命令的序數。

reader
RelationalDataReader

資料讀取器。

cancellationToken
CancellationToken

等候 CancellationToken 工作完成時要觀察的 。

傳回

代表非同步作業的工作。 工作包含必須取用的下一個命令序數。

例外狀況

適用於

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)

參數

commandIndex
Int32
reader
DbDataReader
cancellationToken
CancellationToken

傳回

適用於