title: Use array of ints parameter in FromSQL query and Where In clause
body: <p>I have a list of ints:</p>
  
  <p>var ids = new List { 10, 20 };</p>
  
  <p>And I need to find Users with that ids:</p>
  
  <pre><code>context.Users.FromSqlInterpolated($@" 
    select Users.* 
    where Users.Id in ({String.Join(',', ids)})"
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>'Conversion failed when converting the nvarchar value '10, 20' to data type int.'
  </code></pre>
  
  <p>How can I use such a parameter?</p>