C# Class IQ.Data.AggregateRewriter

Rewrite aggregate expressions, moving them into same select expression that has the group-by clause
Inheritance: DbExpressionVisitor
Datei anzeigen Open project: maravillas/linq-to-delicious

Public Methods

Method Description
Rewrite ( Expression expr ) : Expression

Protected Methods

Method Description
VisitAggregateSubquery ( AggregateSubqueryExpression aggregate ) : Expression
VisitSelect ( SelectExpression select ) : Expression

Private Methods

Method Description
AggregateRewriter ( Expression expr ) : System

Method Details

Rewrite() public static method

public static Rewrite ( Expression expr ) : Expression
expr System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitAggregateSubquery() protected method

protected VisitAggregateSubquery ( AggregateSubqueryExpression aggregate ) : Expression
aggregate AggregateSubqueryExpression
return System.Linq.Expressions.Expression

VisitSelect() protected method

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
return System.Linq.Expressions.Expression