Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner - Business object
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00612101
Message ID:
00623121
Views:
26
Hi,
Thank you for your reply and sample.
I used to reivew the code and re-think my design. I havd some question on it:

1. If all of my data source class is subclass of SESSION. How did I manage transaction? Assume, I have a sales here. So, the data invloved may have salesorder, lineitem and inventory. Since 3 of them are in different datasession, how to manage transaction here? If I call BEGIN TRANSACTION for all of the session, how could I rollback if one of the END TRANSACTION fails?

2. In your sample, you are calling BEGINTRSAN() for each object involved. Why you pass datasessionID to it?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform