Hello,
I'd need to detach a related entity or collection from an entity but WITHOUT altering foreign keys, I would just like to break the link between them.
Here's the problem : when fetching a collection of orderDetailEntities from the main server, I use prefetch path to fetch their related productEntities.
When the user finishes editing the orderDetails, the modified collection is sent back to the server by using .net remoting.
My problem is that the related productEntities will be sent at the same time as the orderDetailEntities, it's totally useless in my case because the server already knows about the products, it only needs the ProductID field from an OrderDetailEntity, not the product itself.
Is there some way I could remove the productEntity from the orderDetailEntity without reseting the orderDetailEntity.ProductID field?