Table of Contents

Enum SqlStepKind

Namespace
LinqToDB.Internal.SqlProvider
Assembly
linq2db.dll

How a SqlCommandStep is executed against the database.

public enum SqlStepKind
Extension Methods

Fields

NonQuery = 0

Executed as a non-query; its result is the rows-affected count.

Reader = 2

Executed as a reader; its result is a recordset consumed by the caller.

Scalar = 1

Executed as a scalar query; its result is the scalar value.

SelfExecuting = 3

Runs itself through a caller-supplied harvester (eager self-executing harvester: a detached / keyed / CTE-union child that executes its own query, possibly recursing into nested eager loading) rather than a rendered command. Such a step has no Statement and is always its own singleton group.