語言

AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagation 方法

定義

多載

ConsumeResultSetWithPropagation(Int32, RelationalDataReader)

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

消耗由 Execute(IRelationalConnection)所建立的資料讀取器,並將值傳回 ModificationCommand。

protected virtual int ConsumeResultSetWithPropagation(int commandIndex, Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader);
abstract member ConsumeResultSetWithPropagation : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader -> int
override this.ConsumeResultSetWithPropagation : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader -> int
Protected Overridable Function ConsumeResultSetWithPropagation (commandIndex As Integer, reader As RelationalDataReader) As Integer

參數

commandIndex
Int32

指令被吞下的序數。

reader
RelationalDataReader

資料讀取器。

傳回

下一個必須消耗的指令的序數。

適用於

ConsumeResultSetWithPropagation(Int32, DbDataReader)

protected virtual int ConsumeResultSetWithPropagation(int commandIndex, System.Data.Common.DbDataReader reader);
abstract member ConsumeResultSetWithPropagation : int * System.Data.Common.DbDataReader -> int
override this.ConsumeResultSetWithPropagation : int * System.Data.Common.DbDataReader -> int
Protected Overridable Function ConsumeResultSetWithPropagation (commandIndex As Integer, reader As DbDataReader) As Integer

參數

commandIndex
Int32
reader
DbDataReader

傳回

適用於