共用方式為


AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagation 方法

定義

多載

ConsumeResultSetWithoutPropagation(Int32, DbDataReader)
ConsumeResultSetWithoutPropagation(Int32, RelationalDataReader)

取用 建立 Execute(IRelationalConnection) 的資料讀取器,而不將值傳播回 ModificationCommand

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

資料讀取器。

傳回

必須取用之下一個命令的序數。

適用於