public override SqlObject Visit(SqlLiteralArrayCollection sqlLiteralArrayCollection)
        {
            SqlScalarExpression[] items = new SqlScalarExpression[sqlLiteralArrayCollection.Items.Count];
            for (int i = 0; i < sqlLiteralArrayCollection.Items.Count; i++)
            {
                items[i] = sqlLiteralArrayCollection.Items[i].Accept(this) as SqlScalarExpression;
            }

            return(SqlLiteralArrayCollection.Create(items));
        }
Esempio n. 2
0
 public static SqlLiteralArrayCollection Create(IReadOnlyList <SqlScalarExpression> items)
 {
     return(SqlLiteralArrayCollection.Create(items));
 }