I have two independent (unrelated) entities. Some properties of these changes change, and then I call SaveChanges. I need to wrap both updates in one transaction, as they represent the state of my application.
two updates are performed, as shown in SQL Profiler. But I do not see any transactions. Why doesn't EF4 create a transaction around two updates? How can i achieve this? (I already tried a transaction - there are still no transactions observed in Profiler)
Any ideas?
source share