Multiple databases(datacontext) on same server without MS DTC
I'm using EF5.0 with SQL server 2008. I have two databases on the same server instance. I need to update tables on both databases and want them to be same transaction. So I used the TransactionScope. Below is the code - public void Save() { var MSObjectContext = ((IObjectContextAdapter)MSDataContext).ObjectContext; var AWObjectContext = ((IObjectContextAdapter)AwContext).ObjectContext; using (var scope = new TransactionScope(TransactionScopeOption.Required, new TransactionOptions { IsolationLevel = IsolationLevel.ReadUncommitted })) { MSObjectContext.SaveChanges(SaveOptions