Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving data using stored procedures
Message
 
À
11/10/2004 20:53:40
Joe Gollick
Great Lakes Behavioral Research
Cranberry Township, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00943146
Message ID:
00950856
Vues:
13
Joe,

>Note: When using stored procedures to save data, set your business object's RetrieveAutoIncrementPK property to false. You can retrieve the newly added primary key value from within the stored procedure by means of the @@Identity variable
>
>
> Should the RetrieveAutoIncrementPK = true or false?

If you're using stored procedures to save data (insert/update/delete) then it should be set to false.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform