Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing PrimaryKey exception
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01206288
Message ID:
01206392
Views:
20
Mario,

>It seems that the primaryKey is never created on the table and that's what is raising the exception. How can I ensure that a primary key value is created for the table?. When does MM do it? My BO new method defines the PrimaryKey property in it. I am not sure if that's what defines the PK in the table to then be able to be used by a find mehtod.

Have you defined a primary key on the back end table and retrieved this value in your SELECT statement?

Best 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