.netcore 3.1 EFCore报错-The SqlParameterCollection only accepts non-null SqlParameter type objects, not SqlParameter objects.
GetSearchCommand 使用存储过程,传参报错
using System.Data.SqlClient; 这个的错误,.netcore 3.1以后,就不能用这个了。需要用另一个,如下。Microsoft.Data.SqlClient
查看更多
感谢指出,下一版本会修复
发布 问题
分享 好友
手机 浏览
回到 顶部