This project is read-only.


Enable sharing a store connection between multiple contexts in order to avoid DTC promotion


This item was migrated from the DevDiv work item tracking system [ID=5908].

This work item originated from A member of the EF team at Microsoft should close the related Connect issue when closing this work item.
Closed Jan 29, 2013 at 1:35 AM by maumar
Issue has been fixed, closing


RoMiller wrote Jan 25, 2013 at 9:07 PM

EF Team Triage: Need to test if this was enabled by the change to support passing an open connection to context -

moozzyk wrote Jan 26, 2013 at 7:58 AM

We found the other day that modifying the connection string to add application name could result in promoting the transaction to use DTC.

maumar wrote Jan 29, 2013 at 1:01 AM

Verified that scenario works when sharing connection between DbContext and Dbcontext, ObjectContext and ObjectContext, DbContext and ObjectContext. No promotion to distributed transaction for these scenarios.