AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagation Method

Definition

Overloads

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

Consumes the data reader created by Execute(IRelationalConnection) without propagating values back into the 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

Parameters

commandIndex
Int32
reader
DbDataReader

Returns

Applies to

ConsumeResultSetWithoutPropagation(Int32, RelationalDataReader)

Consumes the data reader created by Execute(IRelationalConnection) without propagating values back into the 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

Parameters

commandIndex
Int32

The ordinal of the command being consumed.

reader
RelationalDataReader

The data reader.

Returns

The ordinal of the next command that must be consumed.

Applies to