posts - 303,  comments - 59,  views - 44万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
01 2019 档案
Entity Framework Core: A second operation started on this context before a previous operation completed
摘要:我这边报错是因为函数声明的是async void 而实现中有多个task任务,导致的线程不安全 阅读全文
posted @ 2019-01-25 22:52 芝麻的西瓜 阅读(2340) 评论(0) 推荐(0) 编辑
abp Cannot access a disposed object. A common cause of this error is disposing
摘要:框架:abp 异常信息: An unhandled exception was thrown by the application.System.ObjectDisposedException: Cannot access a disposed object. A common cause of t 阅读全文
posted @ 2019-01-25 22:44 芝麻的西瓜 阅读(5844) 评论(2) 推荐(1) 编辑
abp xunit Can not register IHostingEnvironment. It should be a non-abstract class. If not, it should be registered before.”
摘要:在测试项目的ServiceCollectionRegistrar类提前注册。 阅读全文
posted @ 2019-01-22 20:22 芝麻的西瓜 阅读(205) 评论(0) 推荐(0) 编辑
hangfire enqueued but not processing(hangfire 定时任务入队列但不执行)
摘要:去掉时区和名字之后就好了,暂不清楚原因,应该是我对这个方法的后面这两个参数理解的有问题。 阅读全文
posted @ 2019-01-22 00:32 芝麻的西瓜 阅读(2005) 评论(2) 推荐(0) 编辑
EF 更新实体 The instance of entity type 'BabyEvent' cannot be tracked because another instance
摘要:加上AsNoTracking。 人不能两次踏入同一条河。 我 就踏入了。o(╥﹏╥)o 阅读全文
posted @ 2019-01-19 22:52 芝麻的西瓜 阅读(6012) 评论(0) 推荐(0) 编辑
datatable to entiy list 不支持可空类型和枚举类型
摘要:还没有找到解决方法,暂存,希望有知道能告诉我。谢谢。 阅读全文
posted @ 2019-01-19 00:02 芝麻的西瓜 阅读(155) 评论(0) 推荐(0) 编辑
webapi 设置不显示接口到swaggerUI
摘要:请添加如下属性: [ApiExplorerSettings(IgnoreApi = true)] 阅读全文
posted @ 2019-01-12 16:34 芝麻的西瓜 阅读(2570) 评论(0) 推荐(0) 编辑
abp EF 添加实体后返回的实体的主键为负值的问题
摘要:请使用InsertAndGetIdAsync 阅读全文
posted @ 2019-01-08 18:18 芝麻的西瓜 阅读(777) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示