[英]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.