Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement