Exemple #1
0
        internal virtual SqlExpression VisitIn(SqlIn sin)
        {
            sin.Expression = this.VisitExpression(sin.Expression);
            int num   = 0;
            int count = sin.Values.Count;

            while (num < count)
            {
                sin.Values[num] = this.VisitExpression(sin.Values[num]);
                num++;
            }
            return(sin);
        }
Exemple #2
0
            internal override SqlExpression VisitIn(SqlIn sin)
            {
                SqlIn @in   = new SqlIn(sin.ClrType, sin.SqlType, this.VisitExpression(sin.Expression), sin.Values, sin.SourceExpression);
                int   num   = 0;
                int   count = @in.Values.Count;

                while (num < count)
                {
                    @in.Values[num] = this.VisitExpression(@in.Values[num]);
                    num++;
                }
                return(@in);
            }