If you get this Error with Entity Framework:
Unable to update the EntitySet {EntityName} because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.
Just check that the table have a PrimaryKey assigned…
And do not forget to update your datamodel after adding the key.
74fac254-d96f-4cbd-a5ec-17bcf1f7cf15|0|.0