Inheritance: SqlBaseExpression
        protected override Expression VisitKeyword(SqlKeywordExpression expression)
        {
            SqlKeywordExpression current;
            if (!TryGetCurrent(expression, out current))
            {
                return expression;
            }

            if (!(this.result &= object.Equals(current.Name, expression.Name)))
            {
                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;
        }
Ejemplo n.º 2
0
 protected override Expression VisitKeyword(SqlKeywordExpression expression)
 {
     this.hashCode ^= expression.Name?.GetHashCode() ?? 0;
     return(base.VisitKeyword(expression));
 }
 protected override Expression VisitKeyword(SqlKeywordExpression expression)
 {
     this.hashCode ^= expression.Name?.GetHashCode() ?? 0;
     return base.VisitKeyword(expression);
 }
Ejemplo n.º 4
0
		protected virtual Expression VisitKeyword(SqlKeywordExpression expression)
		{
			return expression;
		}
Ejemplo n.º 5
0
		protected override Expression VisitKeyword(SqlKeywordExpression expression)
		{
			this.Write(' ');
			this.Write(expression.Name);
			this.Write(' ');

			return expression;
		}