c# - Unable to update the EntitySet - because it has a DefiningQuery and no <UpdateFunction> element exist - Stack Overflow
Tue Dec 28 2021 13:39:59 GMT+0000 (Coordinated Universal Time)
Saved by
@TEST12
75
This is the case for me. Simply removing resulted in another error. I followed the steps of this post except the last one. For your convenience, I copied the 4 steps from the post that I followed to solve the problem as following:
Right click on the edmx file, select Open with, XML editor
Locate the entity in the edmx:StorageModels element
Remove the DefiningQuery entirely
Rename the store:Schema="dbo" to Schema="dbo" (otherwise, the code will generate an error saying the name is invalid)
content_copyCOPY
https://stackoverflow.com/questions/7583770/unable-to-update-the-entityset-because-it-has-a-definingquery-and-no-updatefu
Comments