Getting The Database Connection String From an ObjectContext June 13, 2012September 27, 2017Munir Husseini1 Comment The trick here is to cast the Connection property of the ObjectContext to the type System.Data.EntityClient.EntityConnection. Then you can access…