Hi,I'm looking at developing a solution based around the three tier architecture model, with PL, BL, and DL. At this point I'm concentrating on the BL and DL. I do not want to tie the app to a single DL implementation, as I would like in the future to be able to use an XML data store as well as an RDBMS.I'm confused about how transaction control fits into the 3 tier model. For example, say I have an action performed in my BL which affects two different entities which don't have a relationship in the business model (say object A and object B). I want this action to be atomic, so either the changes to both or neither are stored.As the objects are not related in the business model, I would not be passing a single object to the DL, it would be done as two separate calls. So my question is, how can I wrap these operations in a single transaction, without coupling the BL to the DL? I am reluctant to use TransactionScope as my application may have to run in an environm ...
Go to the complete details ...