Unable to update EntitySet "Project_project" because it has a definingquery, and the <ModificationFunctionMapping> element does not support the current operation < The insertfunction> element.
Baffled by its explanations, and finally found
1: The table in the entity must have a primary key (this indicates that the primary key must be in the T_user table), and if not, there will be a hint
2: After the primary key is set up, run or there will be similar problems, it is a depressed
1): The method first removes the model from the EF that has just set the primary key, and then adds it back to EF, that's Ok.
2): If the method is not successful, then use this more soil method: Innovation to create a project, and then re-associate EF, this problem will solve or delete the *.edmx file, and then re-associate the database is OK all tested, completely through
User code not processed updateexception