Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to retrieve the new primary key?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00809477
Message ID:
00811176
Vues:
25
>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 ran some tests with SQL Profiler and found that the generated SQL command contains "iRecVersion = NULL" when RetrieveAutoIncrementPK = true. When RetrieveAutoIncrementPK = false, iRecVersion is not in the SQL command at all.
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform