Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing PrimaryKey exception
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01206288
Message ID:
01206392
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform