Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Delete row from child and call save of parent
I am creating a parent child relationship between to entities (entity 1 as parent and entity 2 as child).
I want to call save of just the parent and the child is saved too.
Now the problem is I want to add few rows in child, update few and delete few ...
Update and Add works fine, but when i do a datarow.delete for child and try to save the parent it throws a "Deleted row information cannot be accessed through the row" exception.
The add and update works as expected..the delete doesnt... has anyone faced this problem?
Thanks,
Amruta
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement