I want to pass array as a param to SqlQuerySpec to be able to use it in the IN expression when building query for azure cosmos db.
What i'm trying to do is something like we do with regular (string, int etc) params:

```
private SqlQuerySpec BuildQuery(IEnumerable<string> exclTypes)
{
    var queryText = "SELECT * FROM root r WHERE r.Type NOT IN (@types)";
    var parameters = new SqlParameterCollection{new SqlParameter("@types", exclTypes.ToArray())};
    return new SqlQuerySpec()
    {QueryText = queryText, Parameters = parameters};
}

```

But that doesn't work in such way. Any other ways I can pass array as a param?
Thanks.