Unable to update the EntitySet ” because it has a DefiningQuery and no <> element exists in the <> element to support the current operation.
Silly thing this. Found this link. In my case this was caused by not selecting the primary key for the table in SQL Server I was generating the entity set against and then attempting to call the Entity Framework AddObject method with the generated entity. I’m pretty sure that this sort of error will occur …