Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3-tier question
Message
De
19/02/2003 11:09:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00754835
Message ID:
00754966
Vues:
16
>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.

Yes, but in what form are the BR's, class? method? various methods in a class? methods in the BO?

Thanks
Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform