Click here to Skip to main content
13,201,763 members (69,320 online)
Click here to Skip to main content


4 bookmarked
Posted 4 Feb 2013

IDbContextFactory which gets Connection String at runtime and triggers Automatic Migrations

, 4 Feb 2013
Sample code showing how to implement IDbContextFactory for retrieving ConnectionString at runtime and trigger automatic migrations. For use with DI and IoC or if you have different databases with the same model.
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer Omicron electronics
Austria Austria
2006-2011 HTL Dornbirn - Betriebsinformatik
2011 Cisco CCNA
2011/12 TU Wien - Software Engineering (1 Semester)

Software Engineer at suite (
ASP.NET, Windows Azure, MS SQL Server

since 2013
Software Engineer at Omicron electronics (

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171020.1 | Last Updated 4 Feb 2013
Article Copyright 2013 by retsnoM
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid