Hi,
I have question I'm developing small application to desktop in win Forms. I'm using SQL CE 3.5 SP1 for the database.
When I make inserts on few tables by few methods I'm using the TansactionScope. When I use this methods alone I want to use normal Transaction from database connection.
Is there anyway to check in called method if connction to DB is now in transaction scope??
The answer to forward this information to method it's not good in the future we will change the implementation of the SQL Ce to normal SQL and then I don't wan't change implementation so this is not good idea.
The solution before I was using in every mthod Transaction from ADO but it was wrong becouse outside was transactionScope which was not rollbacking this tran. SO I decided to delete all ADO transactions and then rollback was ok so I wan't to know when I can use ADO and when not...