关于 db.Aop.OnError 委托参数 SqlSugarException 中的 Parametres属性类型问题 返回
SqlSugar
沟通中
1
228
悬赏:0 飞吻
按照官方示例文档中https://www.donet5.com/home/doc?masterId=1&typeId=1204

这里的SqlSugarException 中的 exp.Parametres 为object 类型,但 GetSqlString 方法,需要传入的是SugarParameter[] 类型,示例完全是错误的

是不是 SqlSugarException 中的 Parametres 属性类型错误?
热忱回答(1)
-
fate sta VIP0
2025/11/18强转一下就行了 应该是个数组或者list
0 回复