Table of Contents

Enum ResultSetMapping

Namespace
Microsoft.EntityFrameworkCore.Update
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Indicates what kind of impact on the result set a given command will have.

This type is typically used by database providers; it is generally not used in application code.

[Flags]
public enum ResultSetMapping

Fields

HasOutputParameters = 32

The command has output parameters.

HasResultRow = 1

The command maps to a row in the result set.

IsPositionalResultMappingEnabled = 17

When rows with database-generated values are returned in non-deterministic ordering, it is necessary to project out a synthetic position value, in order to look up the correct ModificationCommand and propagate the values. When this bit is enabled, the current result row contains such a position value.

LastInResultSet = 5

The command maps to the last result in the result set.

NoResults = 0

The command does not have any results, neither as rows nor as output parameters.

NotLastInResultSet = 3

The command maps to a non-last row in the result set.

ResultSetWithRowsAffectedOnly = 9

The command maps to a result set which contains only a single rows affected value.

Remarks

See Implementation of database providers and extensions for more information and examples.