Ejemplo n.º 1
0
        internal virtual SqlExpression VisitClientArray(SqlClientArray scar)
        {
            int num   = 0;
            int count = scar.Expressions.Count;

            while (num < count)
            {
                scar.Expressions[num] = this.VisitExpression(scar.Expressions[num]);
                num++;
            }
            return(scar);
        }
Ejemplo n.º 2
0
            internal override SqlExpression VisitClientArray(SqlClientArray scar)
            {
                var exprs  = new SqlExpression[scar.Expressions.Count];
                int index  = 0;
                int length = exprs.Length;

                while (index < length)
                {
                    exprs[index] = this.VisitExpression(scar.Expressions[index]);
                    index++;
                }
                return(new SqlClientArray(scar.ClrType, scar.SqlType, exprs, scar.SourceExpression));
            }