gpt4 book ai didi

c# - 因为它有一个 DefiningQuery 并且 元素中不存在 元素

转载 作者:IT王子 更新时间:2023-10-29 03:49:08 26 4
gpt4 key购买 nike

<分区>

我在我的应用程序中使用 EF。

我尝试保存\插入一条新记录到映射表

并得到以下错误:

Unable to update the EntitySet 'UsersLimitationToCountry' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.

我应该自己在 edmx 中定义它吗?怎么办?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com