同一个请求,同一个数据,重复执行,一个简单的查询,就会报多种错误, 返回

SqlSugar 沟通中
2 212
该叫什么 发布于2025/11/22
悬赏:0 飞吻

数组越界,参数越界,绑定错误,无效操作异常等,
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
image.png

热忱回答2

  • fate sta fate sta VIP0
    2025/11/22

    文档:偶发 

    这个一般是线程安全问题。 

    0 回复
  • fate sta fate sta VIP0
    2025/11/22

    还有疑问提供完整可以重现的DEMO 删 掉OBJ和BIN打包上传。

    0 回复