Compartir a través de


AffectedCountModificationCommandBatch.ConsumeResultSetWithRowsAffectedOnly Método

Definición

Consume el lector de datos creado por Execute(IRelationalConnection) sin propagar valores de nuevo a ModificationCommand.

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

Parámetros

commandIndex
Int32

Ordinal del comando que se va a consumir.

reader
RelationalDataReader

Lector de datos.

Devoluciones

Ordinal del siguiente comando que se debe consumir.

Se aplica a