EF5 Migrations: Multiple Data Contexts in a Single Database February 15, 2013September 27, 2017Munir Husseini5 Comments Consider this: an application is built up from multiple modules, each with a different set of entities and data contexts.…
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…