Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compound keys
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00902263
Message ID:
00902499
Views:
19
Simon,

>Probably an obvious answer, but how do I set the primary key of a dataset to be a compound key where the two key fields are both integers?

You can actually specify this information at the business object level by setting the business object's PrimaryKeys array property. Check out the MM .NET Dev Guide topic "PrimaryKeys: The Primary Key Fields" for details.

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
Reply
Map
View

Click here to load this message in the networking platform