使用VS 2008,SQL Server 2008和WPF 3.5,我对模式进行了一些更改并更新了模型.它编译并运行正常,直到客户端应用程序调用特定实体,我得到以下(实际名称替换):
The data reader is incompatible with the specified '<Model>.<ViewBasedEntity>'. A member of the type, '<Property>', does not have a corresponding column in the data reader with the same name.
Run Code Online (Sandbox Code Playgroud)
我在服务应用程序中搜索了相关的实体和属性名称,尝试在表格地图中重命名属性,似乎是其他一些报告相同的错误,但似乎无法找到及时答案... .
...有没有人知道如何追踪这一点,如果有的话,是否有一个修复或方法可以遵循以避免将来?