Skip to content

TransactionalDataPortal Isolation level. #3724

Answered by hurcane
ReneElizondo asked this question in Questions
Discussion options

You must be logged in to vote

I am working -- finally -- on a project to upgrade code from CSLA 5, and this question popped up during my research. To document a specific answer, there are two techniques you can use to configure an isolation level that is different from the default.

One option is to use the following for an attribute to use something other than the default. This is useful when you have a specific operation that should override the isolation level.

[Transactional(TransactionalTypes.TransactionScope, TransactionIsolationLevel.ReadCommitted)]

In a larger context, you may want to change the isolation level default for all transactions. This can be set up with configuration options when adding Csla to the s…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@hurcane
Comment options

Comment options

You must be logged in to vote
1 reply
@hurcane
Comment options

Answer selected by rockfordlhotka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants