创建实体框架后更改数据库 [英] Change database after create entity framework
本文介绍了创建实体框架后更改数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用EF 6(edmx)创建了一个项目。
有没有办法可以将数据库(sql)中的更改保存并更新为edmx文件?
或者我必须重新创建Linq到ado.net ..
I've created a project using EF 6(edmx) .
Is there any way to persist and update changes in database(sql) to edmx file?
or I must recreate Linq to ado.net..
推荐答案
你需要更新.edmx文件
如何?
查看此内容,
如何更新ADO.net实体数据模型 [ ^ ]
you need to update the .edmx file
How?
Check this out,
How to update ADO.net Entity Data model[^]
这篇关于创建实体框架后更改数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文