Hi,
I have a Project. Each project can have contacts.
Their relation is m:n and I have a inbetweentable having ProjectID and ContactID to combine them.
On my webpage I retrieve a project and prefetch the Contact EntityCollection via their n:m relation ... not via the relation inbetweentable.
This collection I bind to the datagridview. I tried the delete command button and it stated the collection was readonly. Is this because I didn't use the inbetweentable relation?
Also: If I do use the inbetweentable relation and I bind this collection to the datagridview, how do I make sure that the delete command does not remove the entity from the contact entity collection but actually just removes the row in the inbetweentable relation?
I hope it's a bit clear what I am trying to do here ... can anyone offer some help?
Best regards,