my problem is that when I am trying to delete an entity from an EntityCollection within the QDSCV and after that call the QDSCV.SubmitChanges method I am always getting an "Submit Error Not Handled"-Error. If I handle the error (e.MarkErrorAsHandled) the item is not removed.
I have a Person
that can have many Orders.
If my QDSCV is from type Person
there will be an EntityCollection in it from type Order
. If now remove a selected order from that collection I will get this error:
People.Where(p => p.Orders.Contains(order)))
How can I remove that entity from the collection, without getting this error but the item deleted from the db?
Thanks in advance!