AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
消耗由 建立的資料 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
資料讀取器。
傳回
下一個必須消耗的指令的序數。