Table of Contents

Class SqlCommandGroupPlan

Namespace
LinqToDB.Internal.SqlProvider
Assembly
linq2db.dll

The physical grouping of a SqlCommandScenario into command groups, produced by the DML service.

public sealed record SqlCommandGroupPlan : IEquatable<SqlCommandGroupPlan>
Inheritance
object
SqlCommandGroupPlan
Implements
Extension Methods

Properties

Groups

The ordered command groups.

public required IReadOnlyList<SqlCommandGroup> Groups { get; init; }

Property Value

IReadOnlyList<SqlCommandGroup>

Methods

Sequential(int)

The sequential plan: every step becomes its own physical command, i.e. one round-trip per statement. This is what a provider without multi-statement support yields, and what the engine falls back to when UseCombinedCommands is off.

public static SqlCommandGroupPlan Sequential(int stepCount)

Parameters

stepCount int

Number of steps in the scenario.

Returns

SqlCommandGroupPlan