.NET Entity Framework Unable to update the EntitySet because it has a DefiningQuery and no element exists in the element to support the current operation

Jump to: navigation, search

Error: Unable to update the EntitySet because it has a DefiningQuery and no <UpdateFunction> element exists in the <ModificationFunctionMapping> element to support the current operation The error may occur because there is no Primary Key defined in the table being referenced. First, make a column a primary key: alter table myTable Add primary key (myColumnChoice) Second, delete the table and re add it to your project (or EDMX file). That should do it.

See also

Use your Android as a Genie garage door opener remote

Personal tools
Namespaces
Variants
Views
Actions
Navigation