Table of Contents

Class QueryPreparationContext

Namespace
NextORM.Core
Assembly
nextorm.core.dll

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

command QueryCommand

Properties

Command

The command being prepared.

public QueryCommand Command { get; }

Property Value

QueryCommand

GroupBy

The grouping expression, if any.

public LambdaExpression? GroupBy { get; }

Property Value

LambdaExpression

GroupByWithTotals

Whether grouping includes totals.

public bool GroupByWithTotals { get; }

Property Value

bool

GroupingSets

The grouping sets.

public IReadOnlyList<int[]>? GroupingSets { get; }

Property Value

IReadOnlyList<int[]>

GroupingType

The grouping type.

public GroupingType GroupingType { get; }

Property Value

GroupingType

Having

The HAVING expression, if any.

public LambdaExpression? Having { get; }

Property Value

LambdaExpression

Projection

The raw projection expression, if any.

public LambdaExpression? Projection { get; }

Property Value

LambdaExpression

Sorting

The sortings, if any.

public IReadOnlyList<Sorting>? Sorting { get; }

Property Value

IReadOnlyList<Sorting>

SourceType

The source entity type.

public Type SourceType { get; }

Property Value

Type

Where

The effective source condition (WHERE), if any.

public LambdaExpression? Where { get; }

Property Value

LambdaExpression