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)

Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
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

数据读取器。

返回

必须使用的下一个命令的序号。

适用于