C# Class Shaolinq.Persistence.Linq.Optimizers.SqlRedundantSubqueryRemover

Removes select expressions that don't add any additional semantic value
Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Mostrar archivo Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Remove ( Expression expression ) : Expression

Protected Methods

Method Description
VisitProjection ( SqlProjectionExpression projection ) : Expression
VisitSelect ( SqlSelectExpression select ) : Expression

Private Methods

Method Description
SqlRedundantSubqueryRemover ( ) : System.Collections.Generic

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 ( SqlProjectionExpression projection ) : Expression
projection Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression
return System.Linq.Expressions.Expression

VisitSelect() protected method

protected VisitSelect ( SqlSelectExpression select ) : Expression
select Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
return System.Linq.Expressions.Expression