Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Foreign Key Fields in BO
Message
 
To
08/09/2005 13:49:56
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01047795
Message ID:
01051098
Views:
8
Joe,

You're right...by default MM .NET assumes single-column foreign parent key fields. You can add support for multi-column foreign parent key fields by adding a ForeignParentKeyFields string array property to your business object, then overriding the methods that work with the foreign parent key field which are:

PopulateForeignParentKeyField(), (and if you're using mementos) MementoGet() and MementoSet().
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
Reply
Map
View

Click here to load this message in the networking platform