0 Replies Latest reply: Nov 9, 2012 3:36 AM by 973443 RSS

    Entity framework script: Database updates instead of recreation

    973443
      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