Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child BO not saving
Message
 
À
28/07/2010 15:44:50
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01474335
Message ID:
01474353
Vues:
37
Coincidentally, I'm having the exact same problem but only when trying to save new children. Existing ones save fine. The problem seems to be that the foreign key is not populating (a record does get saved, just with no foreign key). Is the syntax right, in that we just have to name the field or is there more needed?

I've run through the debugger and get down the SaveChildObjects() and PopulateForeignKeyField() and the value that it's trying to save is zero, rather than the parent object's primary key value.

Eric
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform