EF Migrations for Database-first approach?

后端 未结 4 985
醉酒成梦
醉酒成梦 2020-12-17 07:38

We\'re using Database first approach with EntityFramework. We\'ve several customers, and when we deploy new product version, we\'re now applying DB schema changes \"manually

4条回答
  •  旧巷少年郎
    2020-12-17 08:06

    As far as I know, EF Migrations is a product targeted at CodeFirst and doesn't support Database First operations.

    CodeFirst assumes that you will never make any changes manually to the database. All the changes to the database will go through the code first migrations.

提交回复
热议问题