I have the following DB tables: Operation Parameter OperationToParameter (has 2 foreign keys to previous tables, both foreign keys are declared as PK as well)
I updated my EF model from DB . It created me Operation and Parameter entities, the OperationToParameter it created as association between the 2 tables with many to many relation as i need. The thing is when i am trying to do SaveChanges (my changed object is ParameterDefinition which has navigation to Operation and Parameter entities ) it throws exception- Unable to update the EntitySet '[Table Name]' because it has a DefiningQuery and no element exists in the .
how can i solve this?