Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass value of parameters from UI to BIZ to DA
Message
From
21/01/2008 09:53:41
 
 
To
21/01/2008 08:50:37
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01283283
Message ID:
01283631
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform