Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child loosing entity data on Parent/Child NewEntity()
Message
De
16/09/2008 10:25:44
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Child loosing entity data on Parent/Child NewEntity()
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01347919
Message ID:
01347919
Vues:
68
Hi everyone,

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.

Anyone else seeing this?

Thanks,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform