Partager via


ResultSetMapping Enum

Definition

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.

This enumeration supports a bitwise combination of its member values.

public enum ResultSetMapping
[System.Flags]
public enum ResultSetMapping
type ResultSetMapping = 
[<System.Flags>]
type ResultSetMapping = 
Public Enum ResultSetMapping
Inheritance
ResultSetMapping
Attributes

Fields

Name Value Description
NoResults 0

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

NoResultSet 0

The command does not have any result set mapping.

HasResultRow 1

The command maps to a row in the result set.

NotLastInResultSet 3

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

LastInResultSet 5

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

ResultSetWithRowsAffectedOnly 9

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

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.

HasOutputParameters 32

The command has output parameters.

Remarks

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

Applies to