简体   繁体   English

Visual Studio 2013.dbml文件未更新

[英]Visual Studio 2013. dbml file not updating

I am working on a Visual Studio project that uses ASP.NET/C# with LinqToSql. 我正在使用将Visual Studio项目与LinqToSql一起使用ASP.NET/C#。

All has been going fine, until some changes were made to one of the database tables. 一切都进行得很好,直到对其中一个数据库表进行了一些更改。

After that, the Table in question was removed from the DBML database diagram, and the new version added back in using the Server Explorer. 之后,将有关表从DBML数据库图中删除,然后使用服务器资源管理器重新添加新版本。

Trouble is, VS2013 still does not see the new fields, and will not compile if I reference them. 麻烦的是,VS2013仍然看不到新字段,如果我引用它们,将无法编译。 The new table structure is clearly visible in the DBML database diagram. 新的表结构在DBML数据库图中清晰可见。

重建您的项目,您应该看到所做的更改。

在解决方案资源管理器中右键单击您的文件,然后选择“运行自定义工具”,然后查看文件是否正在更新。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2013中的TFS源代码管理映射。无法将项目添加到解决方案 - TFS source control mapping in Visual Studio 2013. Unable to add project to a solution MVC Visual Studio在模型文件夹中添加.dbml文件 - MVC Visual Studio add .dbml file in Model Folder 是否可以从Microsoft Visual Studio中的sqlite3文件创建dbml? - Is it possible to create dbml from an sqlite3 file in Microsoft Visual Studio? Visual Studio C#更改dbml文件的实体变量名称 - Visual Studio C# Change entity variables names for dbml file Visual Studio随机更新我的dbml的designer.cs文件 - visual studio randomly updates designer.cs file for my dbml 在Visual Studio 2013中使用ReportViewer 11开发了报表。尝试在Windows 2012 R2中进行测试;请尝试在Windows 2012 R2中进行测试。 找不到版本11 - Developed report with ReportViewer 11 in visual studio 2013. Try to test in Windows 2012 R2; version 11 not found 在Visual Studio 2013中为WPF应用程序创建一个圆形按钮。这里的问题是onPaint()方法生成错误,要求我输入一些有效参数 - Creating a round button for my WPF app in visual studio 2013. Problem here is onPaint() Method generate error asking me to enter some valid parameters Visual Studio 2013错误创建EDMX文件 - Visual Studio 2013 error creating an EDMX file 打开文件时,Visual Studio 2013崩溃 - visual studio 2013 crashes when opening a file Visual Studio 2013中有关更新到MVC 5的各种错误 - Various errors in Visual Studio 2013 regarding updating to MVC 5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM