‘Unable to update the EntitySet ‘xxxxxxxx’ because it has a DefiningQuery and no element exists in the element to support the current operation.’
1. Make sure you have ”xxxxxxx” table in your datgbase
2. Make sure you have the Primary Key in that table
3. If the the table and Primary Key are existing, please updated the Entity map and publish again.