Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child loosing entity data on Parent/Child NewEntity()
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01347919
Message ID:
01349415
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform