azazullah
Results
comments of
azazullah
The SqlParameterCollection only accepts non-null SqlParameter type objects, not SqlParameter objects
Fixed by changing using System.Data.SqlClient to using Microsoft.Data.SqlClient I am on EF core .0 and this worked for me too
rename file resolve issue