AffectedCountModificationCommandBatch.ConsumeResultSetWithRowsAffectedOnly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Consumes the data reader created by Execute(IRelationalConnection) without propagating values back into the 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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework