Evgeniy
Evgeniy

Reputation: 555

alter table if model changes in Entity Framework

is there any way in EF not to DropCreateDatabaseIfModelChanges, only insert new colomns and delete unused properties? How to manage it when i'm using POCO?

Upvotes: 0

Views: 1302

Answers (1)

Christofer Eliasson
Christofer Eliasson

Reputation: 33865

Have a look at Code First Migrations, included in Entity Framework 4.3.

Update

I'm not sure exactly what you mean, the closest I can think of to automating the process is automatic migrations.

Upvotes: 1

Related Questions