I have an app using the ADO.NET entity framework (the VS2008 version, not the newer, cooler one) and I need to be able to make a call down to the underlying DBMS (it\'s post
Thanks Justin. I spent hours trying to figure out why the StoreConnection property was not available on my Entity Framework connection....
The key piece for me was the fact that you have to formally cast your EF connection as a System.Data.EntityClient.EntityConnection:
var newConn = (System.Data.EntityClient.EntityConnection)db.Connection;
Once I did that it everything else made sense.