Click here to Skip to main content
13,143,185 members (66,214 online)
Click here to Skip to main content


4 bookmarked
Posted 27 Jun 2012

Ensure Your Code First DB is Always Initialized

, 27 Jun 2012
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 15:27 Available Deeksha Shenoy
Updates in content.
3 No 3-May-13 15:26 Available Deeksha Shenoy
Updates in content. 17 changes had been made.
1 No 26-Jun-12 22: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 Angular 4 and .NET Core, and somehow find a way to strengthen my creative faculties.
- Follow me on Twitter at @bradykelly

You may also be interested in...

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