Click here to Skip to main content
12,549,996 members (44,663 online)
Click here to Skip to main content


4 bookmarked

Ensure Your Code First DB is Always Initialized

, 27 Jun 2012 CPOL
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 11:27 Available Deeksha Shenoy
Updates in content.
3 No 3-May-13 11:26 Available Deeksha Shenoy
Updates in content. 17 changes had been made.
1 No 26-Jun-12 18: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 2 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...

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