Click here to Skip to main content
11,478,066 members (69,871 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 7.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



Compare Revision Minor Date Status Editor
4 - publicly available No 3-May-13 21:27 Available Deeksha Shenoy
Updates in content.
3 No 3-May-13 21:26 Available Deeksha Shenoy
Updates in content. 17 changes had been made.
1 No 27-Jun-12 4:53 Pending Brady Kelly
Initial creation


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
Follow on   Twitter

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