您的位置:首页 > 移动开发

it has a DefiningQuery and no InsertFunction element exists in the ModificationFunctionMapping element to support the current op

2011-03-01 17:12 826 查看
it has a DefiningQuery and no InsertFunction element exists in the ModificationFunctionMapping element to support the current operation.

我在使用Entity Data Model做主从表添加数据的时候,发生标题的错误异常,然后检查了一下数据库表的定义,发现OrderDetail表中为设置主键。

请检查数据库的表中是否设置主键,是否是自增长ID。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐