I\'d like to simply send some information from a simple client to a log file and then use the identity created for further processing.
Is the following use of SCOP
SCOP
RETURN SCOPE_IDENTITY()
is returning a 0 with Dapper. I replaced it with
0
SELECT SCOPE_IDENTITY()
and now it is returning the actual value.