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
-
objectSqlCommandGroupPlan
- Implements
- Extension Methods
Properties
Groups
The ordered command groups.
public required IReadOnlyList<SqlCommandGroup> Groups { get; init; }
Property Value
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
stepCountintNumber of steps in the scenario.