C# Class Signum.Engine.Linq.RedundantSubqueryRemover

Inheritance: Signum.Engine.Linq.DbExpressionVisitor
Show file Open project: signumsoftware/framework Class Usage Examples

Public Methods

Method Description
Remove ( Expression expression ) : Expression

Protected Methods

Method Description
VisitProjection ( ProjectionExpression proj ) : Expression
VisitSelect ( SelectExpression select ) : Expression

Private Methods

Method Description
IsInitialProjection ( SelectExpression select ) : bool
IsNameMapProjection ( SelectExpression select ) : bool
IsSimpleProjection ( SelectExpression select ) : bool
RedundantSubqueryRemover ( ) : System

Method Details

Remove() public static method

public static Remove ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitProjection() protected method

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
return System.Linq.Expressions.Expression

VisitSelect() protected method

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