Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving data using stored procedures
Message
 
To
11/10/2004 20:53:40
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00943146
Message ID:
00950856
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform