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

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

jsp - Google line chart x-axis shrinks on transition -

java - Reaching JTextField in a DocumentListener -