Information générale
Catégorie:
The Mere Mortals .NET Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement