I have existing code that uses Ado.Net and am looking at integrating some new code that uses entity frameworks 5. As a proof of concept I wanted to try a transacted operation with BOTH ado.net and EF5.
I tried using TransactionScope but as I was using "two connections", I got an error about the transaction being promoted and DTC not available.
Can I have Ado.Net and EF5 use the same connection to avoid the issue above? If so, any code examples ....
Any other suggestion appreciated.
BTW, I am using EF5 Database First.
Thanks for help in advance.
Regards, Travis