Esempio n. 1
0
 public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope,
                             ScopedDictionary <TableAlias, TableAlias> aliasScope, Expression a, Expression b)
 {
     return(new DbExpressionComparer(parameterScope, aliasScope).Compare(a, b));
 }
Esempio n. 2
0
 protected DbExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope,
                                ScopedDictionary <TableAlias, TableAlias> aliasScope)
     : base(parameterScope)
 {
     this.aliasScope = aliasScope;
 }
 public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope, Expression a, Expression b)
 {
     return(new ExpressionComparer(parameterScope).Compare(a, b));
 }
Esempio n. 4
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
 {
     this.previous = previous;
     this.map      = new Dictionary <TKey, TValue>();
 }
 protected ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope)
 {
     this.parameterScope = parameterScope;
 }