This discussion is archived
0 Replies Latest reply: Nov 9, 2012 1:36 AM by 973443 RSS

Entity framework script: Database updates instead of recreation

973443 Newbie
Currently Being Moderated
Hi

I used the "model first" approach to set up a small database using the "Create database from model"-Script in .NET Entity Framework or Oracle. When I now add columns and new tables I end up a similiar script which just does CREATE TABLE xyz commands using the new structure. How do I get this thing to generate an "update-like" script, in the way that it does ALTER TABLE add COLXYZ instead of recreating the whole table when it exists in my database?

Greetings

Robert

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points