C# Класс Remotion.Linq.SqlBackend.MappingResolution.GroupAggregateSimplifier

Provides functionality to simplify sub-statements that contain an AggregateExpressionNode aggregating over the elements of a grouping. The sub-statements must be resolved before they can be simplified.
Наследование: IGroupAggregateSimplifier
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GroupAggregateSimplifier ( IMappingResolutionStage stage, IMappingResolutionContext context ) : System
IsSimplifiableGroupAggregate ( SqlStatement resolvedSqlStatement ) : bool
SimplifyIfPossible ( SqlSubStatementExpression subStatementExpression, Expression unresolvedSelectProjection ) : Expression

Приватные методы

Метод Описание
FindAggregationExpression ( Expression expression ) : AggregationExpression

Описание методов

GroupAggregateSimplifier() публичный Метод

public GroupAggregateSimplifier ( IMappingResolutionStage stage, IMappingResolutionContext context ) : System
stage IMappingResolutionStage
context IMappingResolutionContext
Результат System

IsSimplifiableGroupAggregate() публичный Метод

public IsSimplifiableGroupAggregate ( SqlStatement resolvedSqlStatement ) : bool
resolvedSqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
Результат bool

SimplifyIfPossible() публичный Метод

public SimplifyIfPossible ( SqlSubStatementExpression subStatementExpression, Expression unresolvedSelectProjection ) : Expression
subStatementExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSubStatementExpression
unresolvedSelectProjection System.Linq.Expressions.Expression
Результат System.Linq.Expressions.Expression