-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
事务中执行多条语句,提示 The connection does not support MultipleActiveResultSets。 #60
Comments
假设完整的业务链是这样的:插入文章-> 插入Tags 跟 Categories -> 完成。 然后根据你的提示我做了以下尝试:
还有没有可以尝试的方法呢? |
@Seanwong933 连接字符串增加 MultipleActiveResultSets=true |
异步方法前面统一带上await |
谢谢帮助,才知道 |
@Seanwong933 方便的话可以提供一下 #13 |
@Ahoo-Wang 我是个人开源项目使用的,可能不符合你们的条件,如果可以的话我在开发完毕后再评论上去。 |
OK,感谢。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MultipleActiveResultSets
的示例,不知道怎么写。MultipleResultMaps
?那么我的三条语句分布在三个xml里,写到哪里呢?代码:
日志:
The text was updated successfully, but these errors were encountered: