Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stateless Biz Objects Question
Message
De
05/01/2000 18:21:18
 
 
À
05/01/2000 16:59:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00313483
Message ID:
00313590
Vues:
44
>Craig,
>
>Please reread the post. No properties are being set, they are being get via _Access methods.
>
>>To have truely stateless objects, you don't set properties...you pass everything as parameters. The method may need to set properties as it calls other methods, but the client should not set properties at all. You can never guarantee the value of a property from one call to the next.


It's the same thing. You can't rely on a value of a property to be there if called from the client. You need to return the value from a method. If you need multiple values you can use a parameter object.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform