C# Class IQ.Data.RedundantColumnRemover

Removes duplicate column declarations that refer to the same underlying column
Inheritance: DbExpressionVisitor
ファイルを表示 Open project: maravillas/linq-to-delicious

Public Methods

Method Description
Remove ( Expression expression ) : Expression

Protected Methods

Method Description
VisitColumn ( ColumnExpression column ) : Expression
VisitSelect ( SelectExpression select ) : Expression

Private Methods

Method Description
RedundantColumnRemover ( ) : System
SameExpression ( Expression a, Expression b ) : bool

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

VisitSelect() protected method

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