Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing data
Message
De
31/07/1998 00:37:41
 
 
À
31/07/1998 00:12:51
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00122960
Message ID:
00122966
Vues:
13
>Am I correct in thinking that I should always use business objects to load data on forms.

I would say if you are going to allow the user to manipulate the data... yes... if it is read only info then you may not need it. Of course, if you want to go to a multi-tier architecture in the future, I belive ALL data access should be through business objects.

Of course, if there are no rules, there is no need to build a business object for each data envirnment... just drop an instance of kBizObj on the form, and set the environment for that instance to what you need for that form.

Only subclass the business object if there are specific rules that need to be applied to the data.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform