没有更新的Visual Studio 2013的dbml文件 [英] Visual Studio 2013. dbml file not updating

查看:206
本文介绍了没有更新的Visual Studio 2013的dbml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用ASP.NET/C#与LinqToSql一个Visual Studio项目。

I am working on a Visual Studio project that uses ASP.NET/C# with LinqToSql.

所有已经进行了罚款,直到一些变化对数据库表中的一种制成。

All has been going fine, until some changes were made to one of the database tables.

在此之后,所讨论的表是从DBML数据库图表除去,并且将新的版本中使用服务器资源管理器加回

After that, the Table in question was removed from the DBML database diagram, and the new version added back in using the Server Explorer.

麻烦的是,VS2013仍然没有看到新的领域,如果我引用它们将无法编译。新表结构在DBML数据库关系图清晰可见。

Trouble is, VS2013 still does not see the new fields, and will not compile if I reference them. The new table structure is clearly visible in the DBML database diagram.

推荐答案

右键单击在解决方案资源管理文件,并选择运行自定义工具,并看它是否得到更新。

Right click on your file in solution explorer and select Run custom tools and see if it is getting updated.

这篇关于没有更新的Visual Studio 2013的dbml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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