C# Class IQ.Data.DbExpressionComparer

Determines if two expressions are equivalent. Supports DbExpression nodes.
Inheritance: ExpressionComparer
Show file Open project: maravillas/linq-to-delicious

Public Methods

Method Description
AreEqual ( Expression a, Expression b ) : bool
AreEqual ( ParameterExpression>.ScopedDictionary parameterScope, TableAlias>.ScopedDictionary aliasScope, Expression a, Expression b ) : bool

Protected Methods

Method Description
Compare ( Expression a, Expression b ) : bool
CompareAggregate ( AggregateExpression a, AggregateExpression b ) : bool
CompareAggregateSubquery ( AggregateSubqueryExpression a, AggregateSubqueryExpression b ) : bool
CompareAlias ( TableAlias a, TableAlias b ) : bool
CompareBetween ( BetweenExpression a, BetweenExpression b ) : bool
CompareColumn ( ColumnExpression a, ColumnExpression b ) : bool
CompareColumnDeclaration ( ColumnDeclaration a, ColumnDeclaration b ) : bool
CompareColumnDeclarations ( ReadOnlyCollection a, ReadOnlyCollection b ) : bool
CompareExists ( ExistsExpression a, ExistsExpression b ) : bool
CompareIn ( InExpression a, InExpression b ) : bool
CompareIsNull ( IsNullExpression a, IsNullExpression b ) : bool
CompareJoin ( JoinExpression a, JoinExpression b ) : bool
CompareNamedValue ( NamedValueExpression a, NamedValueExpression b ) : bool
CompareOrderList ( ReadOnlyCollection a, ReadOnlyCollection b ) : bool
CompareProjection ( ProjectionExpression a, ProjectionExpression b ) : bool
CompareRowNumber ( RowNumberExpression a, RowNumberExpression b ) : bool
CompareScalar ( ScalarExpression a, ScalarExpression b ) : bool
CompareSelect ( SelectExpression a, SelectExpression b ) : bool
CompareSubquery ( SubqueryExpression a, SubqueryExpression b ) : bool
CompareTable ( TableExpression a, TableExpression b ) : bool
DbExpressionComparer ( ParameterExpression>.ScopedDictionary parameterScope, TableAlias>.ScopedDictionary aliasScope ) : System

Private Methods

Method Description
MapAliases ( Expression a, Expression b ) : void

Method Details

AreEqual() public static method

public static AreEqual ( Expression a, Expression b ) : bool
a System.Linq.Expressions.Expression
b System.Linq.Expressions.Expression
return bool

AreEqual() public static method

public static AreEqual ( ParameterExpression>.ScopedDictionary parameterScope, TableAlias>.ScopedDictionary aliasScope, Expression a, Expression b ) : bool
parameterScope ParameterExpression>.ScopedDictionary
aliasScope TableAlias>.ScopedDictionary
a System.Linq.Expressions.Expression
b System.Linq.Expressions.Expression
return bool

Compare() protected method

protected Compare ( Expression a, Expression b ) : bool
a System.Linq.Expressions.Expression
b System.Linq.Expressions.Expression
return bool

CompareAggregate() protected method

protected CompareAggregate ( AggregateExpression a, AggregateExpression b ) : bool
a AggregateExpression
b AggregateExpression
return bool

CompareAggregateSubquery() protected method

protected CompareAggregateSubquery ( AggregateSubqueryExpression a, AggregateSubqueryExpression b ) : bool
a AggregateSubqueryExpression
b AggregateSubqueryExpression
return bool

CompareAlias() protected method

protected CompareAlias ( TableAlias a, TableAlias b ) : bool
a TableAlias
b TableAlias
return bool

CompareBetween() protected method

protected CompareBetween ( BetweenExpression a, BetweenExpression b ) : bool
a BetweenExpression
b BetweenExpression
return bool

CompareColumn() protected method

protected CompareColumn ( ColumnExpression a, ColumnExpression b ) : bool
a ColumnExpression
b ColumnExpression
return bool

CompareColumnDeclaration() protected method

protected CompareColumnDeclaration ( ColumnDeclaration a, ColumnDeclaration b ) : bool
a ColumnDeclaration
b ColumnDeclaration
return bool

CompareColumnDeclarations() protected method

protected CompareColumnDeclarations ( ReadOnlyCollection a, ReadOnlyCollection b ) : bool
a ReadOnlyCollection
b ReadOnlyCollection
return bool

CompareExists() protected method

protected CompareExists ( ExistsExpression a, ExistsExpression b ) : bool
a ExistsExpression
b ExistsExpression
return bool

CompareIn() protected method

protected CompareIn ( InExpression a, InExpression b ) : bool
a InExpression
b InExpression
return bool

CompareIsNull() protected method

protected CompareIsNull ( IsNullExpression a, IsNullExpression b ) : bool
a IsNullExpression
b IsNullExpression
return bool

CompareJoin() protected method

protected CompareJoin ( JoinExpression a, JoinExpression b ) : bool
a JoinExpression
b JoinExpression
return bool

CompareNamedValue() protected method

protected CompareNamedValue ( NamedValueExpression a, NamedValueExpression b ) : bool
a NamedValueExpression
b NamedValueExpression
return bool

CompareOrderList() protected method

protected CompareOrderList ( ReadOnlyCollection a, ReadOnlyCollection b ) : bool
a ReadOnlyCollection
b ReadOnlyCollection
return bool

CompareProjection() protected method

protected CompareProjection ( ProjectionExpression a, ProjectionExpression b ) : bool
a ProjectionExpression
b ProjectionExpression
return bool

CompareRowNumber() protected method

protected CompareRowNumber ( RowNumberExpression a, RowNumberExpression b ) : bool
a RowNumberExpression
b RowNumberExpression
return bool

CompareScalar() protected method

protected CompareScalar ( ScalarExpression a, ScalarExpression b ) : bool
a ScalarExpression
b ScalarExpression
return bool

CompareSelect() protected method

protected CompareSelect ( SelectExpression a, SelectExpression b ) : bool
a SelectExpression
b SelectExpression
return bool

CompareSubquery() protected method

protected CompareSubquery ( SubqueryExpression a, SubqueryExpression b ) : bool
a SubqueryExpression
b SubqueryExpression
return bool

CompareTable() protected method

protected CompareTable ( TableExpression a, TableExpression b ) : bool
a TableExpression
b TableExpression
return bool

DbExpressionComparer() protected method

protected DbExpressionComparer ( ParameterExpression>.ScopedDictionary parameterScope, TableAlias>.ScopedDictionary aliasScope ) : System
parameterScope ParameterExpression>.ScopedDictionary
aliasScope TableAlias>.ScopedDictionary
return System