Exemplo n.º 1
0
		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;
		}
Exemplo 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;
 }
Exemplo n.º 3
0
		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);
		}