Close
Skip to content

Softwareproduction

Software Development Blog, mainly C# and .NET

  • ASP.NET Core
  • Mobile Development
  • Code Generation
  • General Programming
  • Development Tools
  • Servers
  • Miscellaneous

Tag: EF

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.…

Read More 3075 views

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…

Read More 1445 views
(c) 2011-2020 Munir Husseini