2

Closed

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

description

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

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

comments

RoMiller wrote Jan 25, 2013 at 8:07 PM

EF Team Triage: Need to test if this was enabled by the change to support passing an open connection to context - http://entityframework.codeplex.com/workitem/45

moozzyk wrote Jan 26, 2013 at 6: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 12: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.