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。
我在使用Entity Data Model做主从表添加数据的时候,发生标题的错误异常,然后检查了一下数据库表的定义,发现OrderDetail表中为设置主键。
请检查数据库的表中是否设置主键,是否是自增长ID。
相关文章推荐
- Unable to update the EntitySet 'T_JsAPI' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.
- EF 新增数据时提示it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element
- it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element
- it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping>
- Unable to update the EntitySet 'XXX' because it has a DefiningQuery and no element exists in the element to support the current operation.
- This function has none of Deterministic,no sql,or reads sql data in its declaration and binary logging is enabled(you *might* want to use the less safe log_bin_trust_function_creators variable
- java 提示----This element has no attached source and the Javadoc could not be found in the attached Javadoc
- Given constant integers x and t, write a function that takes no argument and returns true if the function has been called x number of times in last t secs.
- Note: This element has no attached source and Javadoc could not be found in the attached Javadoc解决办法
- Note: This element has no attached Javadoc and the Javadoc could not be found in the attached source
- 【Android】提示Note: This element has no attached source and the Javadoc could not be found in the attac
- 更新EntityFramework数据,提示:Unable to update the Entityset'User' because it has a DefiningQuery
- IE title changes to <afterHash> if the page has a url with '#' , and has flash/swf embedded in it
- Maven中的jeety插件运行报错:No plugin found for prefix 'jeety' in the current project and in the plugin group
- Activity not started, its current task has been brought to the front
- Activity not started, its current task has been brought to the front 。
- Apache2.4.6添加虚拟主机提示:NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/extra/httpd-vhosts.conf
- nginx启动报错(1113: No mapping for the Unicode character exists in the target multi-byte code page)
- 关于eclipse下运行maven build报 No plugin found for prefix 'jetty' in the current project and in the plu gi
- Activity not started, its current task has been brought to the front解决办法