Entity Framework 在Vs2012下Update Model From DataBase 失败的问题
http://stackoverflow.com/questions/13054212/vs-2012-ef-5-0-update-model-from-database-not-picking-up-table-changes
Yes, this still works in VS2012. Are you using the default code generation or do you have a TT file? It could be that it's being added to the EDMX but your class files are not being updated.
Try right-clicking on the EDMX file or the relevant TT file in Solution Explorer and choose "Run Custom Tool" to make sure it's being regenerated.
🐳 作者:dupeng0811 📢 版权:本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接 💬 留言:同时 , 如果文中有什么错误,欢迎指出。以免更多的人被误导。 |