Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child loosing entity data on Parent/Child NewEntity()
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01347919
Message ID:
01349415
Vues:
20
Ahhhh, the old "My hard drive crashed so I can't work this weekend" excuse. I see. :)

I first noticed this in a Parent, child, grandchild relationship. I have an orderheader as the parent, an orderdetail as a child. The orderDetail has 2 children. When the NewEntity() is executed on the parent, all is well. The problem comes in when calling a NewEntity() on OrderDetail to add another detail line before calling SaveEntity() on the parent. It overwrites the data on the last entity of the grandchild.


Thanks Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform