Is it possible to set the database to update? Like in java where we can set hibernate's property hbm2ddl.auto=update.
The reason is because I already have the database setup and have an application using it program using model first strategy. Now I want to try the new EntityFramework 4.1 release and CodeFirst strategy. I don't want to drop-create my database as I already have data in it so the only option is to update, create/update the new tables automatically.
Thanks, czetsuya
对于CodeFirst,实体框架团队目前正在开发Code First Migrations它仍然在Alpha中,但您已经可以尝试迁移数据库了。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.