entity framework - How to map association for Navigation property to select but not update? -


i have navigation property of entity mapped table (a "link table" enabled many many relationship).

this selects data navigation property.
update have written sp update link table, exists in function imports in model, can call, exposed on context.

however, updating entity , saving causes exception: unable update entityset 'setname' because has definingquery , no element exists in element support current operation., since have not mapped function insert calling imported function on context.

is there way update entity's association select link table , leave update/insert handled other code?

this has been solved mapping link table entity in edm, associating appropriately (with navigation properties), including sp in edm, mapping sp insert function , unit testing.

seems happy.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -