Click here to Skip to main content
11,804,574 members (72,060 online)
Click here to Skip to main content
Add your own
alternative version

Ensure Your Code First DB is Always Initialized

, 27 Jun 2012 CPOL 8.8K 4
A quick and easy way to ensure that your Code First DB Initializer is always run when your app starts, not just on the first data access operation
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

Brady Kelly
Founder Erisia Web Development
South Africa South Africa
I am a software developer in Johannesburg, South Africa. I specialise in C# and ASP.NET MVC, with SQL Server, with special fondness for MVC and jQuery. I have been in this business for about eighteen years, and am currently trying to master WPF and WCF, and somehow find a way to strengthen my creative faculties.
- Follow me on Twitter at @bradykelly

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 27 Jun 2012
Article Copyright 2012 by Brady Kelly
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid