Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating foreign keys
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00810787
Message ID:
00810938
Views:
12
Brian,

>In the child object (oPersonName) I've also set the "ForeignParentKeyField" to the parent primary key field, "person_uid". Still, when I call SaveData() it does not migrate the parent key to the child record (which is done by "PopulateForeignParentKeyField()"). Have I mistunderstood how this works, or maybe I didn't do something correctly?
>
>If anyone has an example, I'd very much like to see one.

Check out the MM .NET Windows Forms sample application's OrderDetail business object. Have you set AutoSaveOnParentSaved to true?

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