语言

AffectedCountModificationCommandBatch.ConsumeResultSetWithPropagation 方法

定义

重载

ConsumeResultSetWithPropagation(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 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

返回

适用于