語言

AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagation 方法

定義

多載

ConsumeResultSetWithoutPropagation(Int32, DbDataReader)

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

參數

commandIndex
Int32
reader
DbDataReader

傳回

適用於

ConsumeResultSetWithoutPropagation(Int32, RelationalDataReader)

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

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

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

參數

commandIndex
Int32

指令被吞下的序數。

reader
RelationalDataReader

資料讀取器。

傳回

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

適用於