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:
01207296
Vues:
18
Acutally I have. There's a physical PK in the Oracle DB and the primary Key is brought back in the refcursor returned through the GetAllData method.

I believe that MM tries to create the Pk during the FillDataSet on the following line of code, am I wrong?. However, at the end of the filldataset no PK is created on the underlying table.


// Specify that column and primary key information is added to the DataTable
dbAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey;


Thanks
Mario
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform