Connection Manager replacement issues #3752
Unanswered
JacoJordaan
asked this question in
Questions
Replies: 1 comment
-
Yeah I had this problem when upgrading from CSLA 4 to 7 (haven't tried 8 quite yet). I had to piece together a few different posts and a lot of experimentation. First, Rocky talks about it here: https://stackoverflow.com/questions/72295421/upgrade-to-csla-6-connectionmanager-problem These helped me alot. The transaction scope attributes still work just fine when placed on the portal methods on the business object. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have ported my Csla 5 to the latest Csla 8 code and are running into an issue with transaction handling in my DAL.
In Csla 5 the connection manager was used it it worked fine. In Csla 8 I am using the suggested option as per #3287
I am receiving 2 types of errors
The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
I am using ADO.NET code in my DAL. I am also using the transaction scope attributes in the data portal call in the business object e.g. [Transactional(TransactionalTypes.TransactionScope)]
I am using only one connection string
This is my connection class:
Calls to the connection is wrapped in using statements e.g.:
A few questions comes to mind:
Beta Was this translation helpful? Give feedback.
All reactions