internal override SqlExpression VisitExprSet(SqlExprSet xs)
		{
			if(_isDebugMode)
			{
				_commandStringBuilder.Append("ES(");
				for(int i = 0, n = xs.Expressions.Count; i < n; i++)
				{
					if(i > 0)
						_commandStringBuilder.Append(", ");
					this.Visit(xs.Expressions[i]);
				}
				_commandStringBuilder.Append(")");
			}
			else
			{
				// only show the first one
				this.Visit(xs.GetFirstExpression());
			}
			return xs;
		}
Esempio n. 2
0
 internal virtual SqlExpression VisitExprSet(SqlExprSet xs) {
     for (int i = 0, n = xs.Expressions.Count; i < n; i++) {
         xs.Expressions[i] = this.VisitExpression(xs.Expressions[i]);
     }
     return xs;
 }
		internal override SqlExpression VisitExprSet(SqlExprSet xs)
		{
			SqlExpression[] exprs = new SqlExpression[xs.Expressions.Count];
			for(int i = 0, n = exprs.Length; i < n; i++)
			{
				exprs[i] = this.VisitExpression(xs.Expressions[i]);
			}
			return new SqlExprSet(xs.ClrType, exprs, xs.SourceExpression);
		}