The insert stored procs created by the DDT return the SCOPE_IDENTITY value. How do I capture this using the .SAVE() method?
Thanks!
Clay
____________________Programmer/AnalystCaptain D's, LLC
I had this same issue. But I solved it by using stored procedures, where you can return values through output parameters.
Here is a brief example of the stored proc I'm using. Where do I get the value of @AutoIncrementField in my BO if it's not in the mapped field after a Save()?
I think that's what you're going to have to do... without some significant changes to the framework, there is no way for us to retrieve only one field of a compound primary key value when that one field is auto-incremented.