Пример #1
0
 protected override Expression VisitColumn(ColumnExpression column)
 {
     if (column.Alias == outerAlias)
     {
         NamedValueExpression nv;
         if (!map.TryGetValue(column, out nv))
         {
             nv = new NamedValueExpression("n" + (iParam++), column);
             map.Add(column, nv);
         }
         return(nv);
     }
     return(column);
 }
Пример #2
0
 protected virtual bool CompareNamedValue(NamedValueExpression a, NamedValueExpression b)
 {
     return(a.Name == b.Name && Compare(a.Value, b.Value));
 }
Пример #3
0
 protected virtual Expression VisitNamedValue(NamedValueExpression value)
 {
     return(value);
 }