Replies: 1 comment 1 reply
More precisely per
This is before disposing the So, all is done by Hmm, easy to add but in some cases we may want to not cancel the session, assuming that an entity need to be validated before doing a session save on it, needs more thinkings. But you're right, if you need it in your scenario, currently you would need to use your own try catch blocks |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I have 2 questions related to YesSql in OrchardCore.
Here is my 1st question:
Am I understand these correctly?
2nd question
Does current implementation of OrchardCore auto rollback if there is an exception in an action method or do we have any action filter to cancel a session if there is an exception?
I think we need to do something like this.
Thanks.
All reactions