Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3-tier question
Message
 
À
19/02/2003 04:54:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00754835
Message ID:
00754940
Vues:
20
When you design the BO, put code to validate the record before the save is committed. That way, no matter how many places can this save be called from, it will execute the same validation every time. Biz rules that are App specific I would not place in the SP of the DB, other validations that are not App specific for Ex. 'Sex' field accepting only 'M or F' can be enforced at the DB level.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform