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:
01207296
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform