Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
DataAccess 1.5
-
None
-
.net framework 2.0
Description
When calling a stored procedure that does a insert and returns the row idendity in a return statement, like
CREATE PROCEDURE [dbo].[DoFoo] @foo int AS
INSERT INTO Foos (foo) VALUES (@foo)
RETURN @@IDENTITY
there is no way of accessing the return value and returning it as the generatedKey