Replies: 2 comments 1 reply
-
Can you please provide an absolute minimal repro steps, basically the code we could just compile on our side and see it in action, based on the Commerce SDK sample ?
Can you please provide more details on where you grabbed that information from exactly ?
Trying to understand how the TransactionScope could change anything in regards to writing into a DB at the same time, probably you meant your data to be stored in the DB in an atomic transaction? |
Beta Was this translation helpful? Give feedback.
-
Closing as there is no response. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
We updated to version 9.46 last week and since then we have a problem with the TransactionScope. Until the update to 9.46 we were able to include the TransactionScope using the original logic. Now we get the error "multiple database connections being opened within a same transaction". Then we were told that TransactionScope is not used anymore.
Now we have the following situation:
The original logic writes records to the database. Our logic also writes records to the database. But they have to be written to the database at the same time, otherwise it could lead to errors in our head office when the job that retrieves the records is executed when our logic has not yet been executed.
If you don't use TransactionScope anymore, how can you make sure that the database records are written only after both logics are executed?
Beta Was this translation helpful? Give feedback.
All reactions