I have a system written in C#.net 2.0,sql 2005 where the business layer and Data access layer are already created and uses MSDTC transactions. The connection creation and opening,closing etc are written at the data access layer each method.
I am moving to a new system which re-uses the old business and data access layers and also provides new functionalty in its own business layer and data access layer.
I want every transation to happen at LTM and noting to be promoted to MSDTC.
If I write using TransactionScope at business layer with calling multiple DAC methods inside, the transaction gets promoted to DTC. WIth new classes, I can handle this by making the connection open and close in the business layer before the transaction scope begin, but what can I do for the old written classes. Is there a way in .Net 4.0 to handle transation scope being promoted? I am using WCF for new services and .net 4.0 for new system.