Csla and [Transactional(TransactionalTypes.TransactionScope)] #3407
Unanswered
Chicagoan2016
asked this question in
Questions
Replies: 1 comment 2 replies
-
And your code works without the transactional wrapper? |
Beta Was this translation helpful? Give feedback.
2 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.
-
We have a Csla 4.XX project and we thought of using [Transactional(TransactionalTypes.TransactionScope)] for updates and inserts.
But when FieldManager.UpdateChildren(this); is called we are getting
'INSERT statement conflicted with FOREIGN key constraint' error in child object data access layer.
I debugged the code and the primarykey from parent table ( also a property in root object ) is passed correctly to the child object's DAL.
We are using stored procs and ADO.NET.
Kind Regards
Beta Was this translation helpful? Give feedback.
All reactions