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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only