General information
Category:
Object Oriented Programming
>No, the BR should not directly call into the database. If it needs additional data in the rule, it should call the data object, which then accesses the data and returns the result.
So is it ok for the BO and the BR to have connections to data-objects?
Kev
>
>>The BR has to check how many records the client has in one table, and how many records the client has in another table, what's getting me is that this BR is a required validation by the BO, but the checks it carrys out, will probably be best done from SPROC's in the DB, so should the BR call SPROC's in the DB? If so, should a BR have a connection to the DB at all?
>>
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