Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom class with DataSession?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00537926
Message ID:
00537958
Vues:
11
Hi Ramil,

I've been wanting the same thing ever since the session class's birth! It would be nice to have a private datasession and a container object (NewObject and AddObject methods). I use a toolbar as the base class for building business objects because the Session class doesn't have a NewObject method. The limitation is that I can't add a toolbar class to a toolbar class using NewObject or AddObject. So in the case where a "Batch Transaction Process" business object uses a "Transaction" business object to process the transactions I could simply THIS.NewObject('Transaction') from the Batch Tranaction Process business object.

A session object with NewObject and AddObject methods that excepts custom and session classes would be great!

>Hi all,
>
>Will the Custom class in VFP 7 have a DataSession property? Or will the Session class in VFP 7 accept objects?
Heavy Metal Pedal - click with care
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform