예제 #1
0
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
 {
     this.previous = previous;
     this.map      = new Dictionary <TKey, TValue>();
 }
예제 #2
0
 public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope, Expression a, Expression b)
 {
     return(new ExpressionComparer(parameterScope).Compare(a, b));
 }
예제 #3
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));
 }
예제 #4
0
 protected ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope)
 {
     this.parameterScope = parameterScope;
 }
예제 #5
0
 protected DbExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope,
                                ScopedDictionary <TableAlias, TableAlias> aliasScope)
     : base(parameterScope)
 {
     this.aliasScope = aliasScope;
 }