Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve the new primary key?
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00809477
Message ID:
00810783
Views:
20
>The problem is with the CommandBuilder and not MMF. YOu will need to set >the default values for each column that is not configured to accept nulls.


I don't see how changing the RetrieveAutoIncrementPK flag can make CommandBuilder fail since RetrieveAutoIncrementPK flag belongs to MMF. Do you know is MMF using @@IDENTITY to return the new PK? I am going to trace into the MMF code today and see if I can figure this out.

Stephen
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Previous
Reply
Map
View

Click here to load this message in the networking platform