Error Message:
Unable to update the EntitySet 'TableName' because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.
Solution:
Make sure that table Primary key column. If not add one, that should fix this error