entity framework - How I Keep My Database Content -


I am creating an ASP.NET MVC project with the first model of the unit framework code. Suppose that this project has been done. If I change the model code the next day, the first initializer will drop and create the database. This is a problem that pleases my thousands of records, how do I keep a database record? I can not keep the seed method with thousands of records

The keyword is "database migration", and their description example First for the code

Comments

Popular posts from this blog

php - How to filter values fetched from database on the basic of comma included? -

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -