从更新模型数据库 - 实体框架 [英] Update database from model - Entity Framework

查看:171
本文介绍了从更新模型数据库 - 实体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能以任何方式只更新从实体模型数据库模式..?所以,在数据库中的所有信息留在数据库?当你生成模型数据库中的信息将丢失。我对SQL Azure的工作,我还没有找到管理以适当的方式在SQL Azure数据库中的表和realations任何工具..这将是,如果它洙不错可以由实体框架设计完成。

Is it possible in any way to just update the database schema from entity model..? So that all the information in the database stays in the database? When you generate database from model the information will get lost.. I work against SQL Azure, and I have not found any tool to manage the tables and realations in the SQL Azure database in a proper way.. It would be soo nice if it could be done by the Entity Framework designer.

推荐答案

我认为这将在未来的EF版本中得到解决(但从实体框架点)。
但从一个蓝色的点,你可以使用 SQL Azure迁移向导

I think this will be resolved (from an entity framework point of view) in the next EF release. From an azure point of view you can use SQL Azure Migration Wizard.

这篇关于从更新模型数据库 - 实体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆