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:
01349126
Views:
18
Randy,

>I have a couple of objects set up in a Parent/Child relationship. I have the AutoNewOnParentNew set to true, so when I execute a NewEntity() on the parent, I get a new entity on the child. This works as expected. I then execute NewEntity on the child to add another entity and fill in the data. All is well.
>
>I then execute NewEntity on the parent, which again gives me another new entity on the child, which is what I want. The problem is that it wipes out the data on the previous child entity. I actually end up with 2 child entities with the same data.

I'm checking this out and will get back to you--had a hard disk crash this week and we're still recovering!

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform