How do I configure transactions in Entity Framework 4? In plain old Ado.Net we had a class named SqlTransaction, we could also specify isolation level for that transaction like Read_Committed, Read_UnCommitted etc. I can’t find all these options in Entity Framework. How can we configure them?
Share
You can use the TransactionScope class, and set the isolation level using TransactionOptions as described here:
For example: