Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Objects and Private Datasessions
Message
From
12/09/2003 15:23:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Business Objects and Private Datasessions
Miscellaneous
Thread ID:
00828647
Message ID:
00828647
Views:
68
The nDataSession property of business objects is not being "honored" in my implementation. I'm not using COM - just a regular VFP app. Am I doing something wrong, or is this functionality reserved for special circumstances?

I need private datasessions because I have several levels of containership, and sometimes the same business object will be open twice. When you close one - well - that wipes out all the views used by the other objects of the same class in that datasession.

To get around this, I've created session-based interfaces (i.e. objects of type session) for a number of my classes, but this is cumbersome. Is there a way to get that private datasession functionality working?

On a related note, though, once the session based interfaces are created, they are awesome. It allows me to program to interface, a la other OO languages (i.e. C#), and I don't have to worry about accidentally programming to implementation. This would be a great thing to have in MM 8! Of course, I'm always open to alternative approaches.

Thanks!

David
Next
Reply
Map
View

Click here to load this message in the networking platform