C# Class IQ.Data.RedundantJoinRemover

Removes joins expressions that are identical to joins that already exist
Inheritance: DbExpressionVisitor
显示文件 Open project: maravillas/linq-to-delicious

Public Methods

Method Description
Remove ( Expression expression ) : Expression

Protected Methods

Method Description
VisitColumn ( ColumnExpression column ) : Expression
VisitJoin ( JoinExpression join ) : Expression

Private Methods

Method Description
FindSimilarRight ( JoinExpression join, JoinExpression compareTo ) : Expression
RedundantJoinRemover ( ) : System

Method Details

Remove() public static method

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

VisitColumn() protected method

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
return System.Linq.Expressions.Expression

VisitJoin() protected method

protected VisitJoin ( JoinExpression join ) : Expression
join JoinExpression
return System.Linq.Expressions.Expression