Inheritance: SqlBaseExpression
Ejemplo n.º 1
0
 protected override Expression VisitTableHint(SqlTableHintExpression expression)
 {
     this.hashCode ^= expression.TableLock ? 233222230 : 0;
     return(base.VisitTableHint(expression));
 }
        protected override Expression VisitTableHint(SqlTableHintExpression expression)
        {
            SqlTableHintExpression current;
            if (!TryGetCurrent(expression, out current))
            {
                return expression;
            }

            if (!(this.result &= current.TableLock == expression.TableLock))
            {
                return expression;
            }

            if (!(this.result &= current.NodeType == expression.NodeType))
            {
                return expression;
            }

            if (!(this.result &= current.Type == expression.Type))
            {
                return expression;
            }

            this.currentObject = current;
            return expression;
        }
 protected override Expression VisitTableHint(SqlTableHintExpression expression)
 {
     this.hashCode ^= expression.TableLock ? 233222230 : 0;
     return base.VisitTableHint(expression);
 }
Ejemplo n.º 4
0
		protected virtual Expression VisitTableHint(SqlTableHintExpression expression)
		{
			return expression;
		}