This question is locked. New answers and comments are not allowed.
Hi
I have a DAL with Facturies, I have my classes in the DAL as well.
Now when I test my code guess what, nothing gets saved in the db!
What do I do:
1 Get IObjectScope from DAL class.
2 Call funtion Factury class that is localed in the DAL and pass the IObjectScope instance
3 Commit the changes.
What hapens...
Get the scope, no issue, the tool tip tells me that the transaction IsActive, and Level =1 but IsManaged is false, what the hell does this mean?
Now when I do a data action and DirtyObjects gets Count=1 I call scope.Transaction.Commit and my DLL craches without raising an exeption!
I like coding chalagense but this is not funny anymore. What am I doing wrong?
Regards
Walter
I have a DAL with Facturies, I have my classes in the DAL as well.
Now when I test my code guess what, nothing gets saved in the db!
What do I do:
1 Get IObjectScope from DAL class.
2 Call funtion Factury class that is localed in the DAL and pass the IObjectScope instance
3 Commit the changes.
What hapens...
Get the scope, no issue, the tool tip tells me that the transaction IsActive, and Level =1 but IsManaged is false, what the hell does this mean?
Now when I do a data action and DirtyObjects gets Count=1 I call scope.Transaction.Commit and my DLL craches without raising an exeption!
I like coding chalagense but this is not funny anymore. What am I doing wrong?
Regards
Walter