How to get to ApplicationContext.DefaultTransactionIsolationLevel in csla 8? #4619
Answered
by
rockfordlhotka
ajohnstone-ks
asked this question in
Questions
-
I'm looking at updating to csla 8 and i see the static properties on ApplicationContext like ApplicationContext.DefaultTransactionIsolationLevel are gone and now set thru the options. My question though is how do we get the values now in the data portal methods? We sometimes need to manually control the TS, but still use some of the defaults from Csla. Is there something we inject into the DP method? |
Beta Was this translation helpful? Give feedback.
Answered by
rockfordlhotka
Apr 2, 2025
Replies: 1 comment 4 replies
-
You are using the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, that should work.
Changing the default while the app is running may have unintended side effects, especially in multi-threaded environments, like on a web server.