Interface IQueryPreparationContext
Immutable read-only view of an unprepared QueryCommand exposed to a query component during Prepare(IQueryComponentPrepareContext). It never mutates the command and is safe to capture.
public interface IQueryPreparationContext
- Extension Methods
Properties
Command
The command being prepared.
QueryCommand Command { get; }
Property Value
GroupBy
The grouping expression, if any.
LambdaExpression? GroupBy { get; }
Property Value
GroupByWithTotals
Whether grouping includes totals.
bool GroupByWithTotals { get; }
Property Value
GroupingSets
The grouping sets, if any.
IReadOnlyList<int[]>? GroupingSets { get; }
Property Value
- IReadOnlyList<int[]>
GroupingType
The grouping type (None/Rollup/Cube/GroupingSets), if applicable.
GroupingType GroupingType { get; }
Property Value
Having
The HAVING expression, if any.
LambdaExpression? Having { get; }
Property Value
Projection
The raw projection expression, if any.
LambdaExpression? Projection { get; }
Property Value
Sorting
The sortings, if any.
IReadOnlyList<Sorting>? Sorting { get; }
Property Value
SourceType
The source entity type.
Type SourceType { get; }
Property Value
Where
The effective source condition (WHERE), if any.
LambdaExpression? Where { get; }