Class QueryPreparationContext
Default immutable implementation of IQueryPreparationContext over a command.
public sealed class QueryPreparationContext : IQueryPreparationContext
- Inheritance
-
QueryPreparationContext
- Implements
- Inherited Members
- Extension Methods
Constructors
QueryPreparationContext(QueryCommand)
Creates a context over command.
public QueryPreparationContext(QueryCommand command)
Parameters
commandQueryCommand
Properties
Command
The command being prepared.
public QueryCommand Command { get; }
Property Value
GroupBy
The grouping expression, if any.
public LambdaExpression? GroupBy { get; }
Property Value
GroupByWithTotals
Whether grouping includes totals.
public bool GroupByWithTotals { get; }
Property Value
GroupingSets
The grouping sets.
public IReadOnlyList<int[]>? GroupingSets { get; }
Property Value
- IReadOnlyList<int[]>
GroupingType
The grouping type.
public GroupingType GroupingType { get; }
Property Value
Having
The HAVING expression, if any.
public LambdaExpression? Having { get; }
Property Value
Projection
The raw projection expression, if any.
public LambdaExpression? Projection { get; }
Property Value
Sorting
The sortings, if any.
public IReadOnlyList<Sorting>? Sorting { get; }
Property Value
SourceType
The source entity type.
public Type SourceType { get; }
Property Value
Where
The effective source condition (WHERE), if any.
public LambdaExpression? Where { get; }