Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass value of parameters from UI to BIZ to DA
Message
De
21/01/2008 09:53:41
 
 
À
21/01/2008 08:50:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01283283
Message ID:
01283631
Vues:
15
Craig,

Locking, record creation, and saving are the responsibility of the Data layer. The business layer should have no knowledge of how to actually do any data access.

My BO has an Add method which just calls the Add method of the Dataclass; also with the BO's Save method, which in turn calls the Dataclass's Save method. Am I wrong in doing so? Kindly advise so I can make my corrections right away. Thanks (I am doing a framework of sorts) =)

Also, should I put a Lock method in the BO? Or should that be just handled by the Dataclass?

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

Click here to load this message in the networking platform