Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory Objects - practical application
Message
From
14/12/2006 17:07:55
 
 
To
14/12/2006 17:00:16
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01177742
Message ID:
01177816
Views:
24
For many things, the DataSession doesn't matter. In the example you gave, it does, so it may make sense to instantiate another one or pass the DS ID.

>That would require me to remember the current datasession - via an object instantiated via a factory inside the factory ;)
>
>then set datasession, create the object
>
>and then the object that remembered the data session would automatically reset the datasession.
>
>What is the value of having a single factory object instantiated at app startup? Hmmm? :)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform