title: SqlParameterCollection.Add is obsolete and deprecated
body: <p>I am getting squiggly lines underneath the following code</p>
  
  <pre><code>sda2.SelectCommand.Parameters.Add("@from", from);
  sda2.SelectCommand.Parameters.Add("@to", to);
  </code></pre>
  
  <p>A mouseover states that <code>SqlParameterCollection</code> is obsolete
  and Add(String ..) part of the above is deprecated
  I could not find anything on the internet that clarifies this
  issue. However, it does work and there are no errors</p>