Information générale
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Network:
Windows 2003 Server
Hi Kevin,
>Did you check out the MM .NET Help topic "ForeignParentKeyField: Child Object Foreign Parent Key Field"? If you have set the ParentForeignKeyField property in the child business object but the value is still not getting updated, I recommend setting a breakpoint in mmBusinessObject.PopulateForeignParentKeyField() to see if this code is being executed.
>
Need to restate this from previous post, _ForeignParentKeyField is populated but _ParentKeyValue is not:
Stepping through from mmBusinessObject.PopulateForeignParentKeyField(), it does execute but _FParentKeyValue = null so it fails here :)
protected virtual void PopulateForeignParentKeyField()
{
if (this.ForeignParentKeyField != null && this.ParentKeyValue != null)
{
this.PopulateKeyField(this.ForeignParentKeyField, this.ParentKeyValue);
}
}
So, I'm missing where _ParentKeyValue gets populated. I see where it should be populated with the debugger but the value is always undefined. Any insight?
Thanks,
Mike
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement