AffectedCountModificationCommandBatch.ConsumeResultSet 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), propagating values back into the ModificationCommand.
protected virtual int ConsumeResultSet (int startCommandIndex, Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader);
abstract member ConsumeResultSet : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader -> int
override this.ConsumeResultSet : int * Microsoft.EntityFrameworkCore.Storage.RelationalDataReader -> int
Protected Overridable Function ConsumeResultSet (startCommandIndex As Integer, reader As RelationalDataReader) As Integer
Parameters
- startCommandIndex
- Int32
The ordinal of the first command being consumed.
- reader
- RelationalDataReader
The data reader.
Returns
The ordinal of the next result set that must be consumed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework