Hello, I'm wondering if there is a way to retrieve the identity value from an identity column before saving a new register.
When I run this query: "
SELECT IDENT_CURRENT ('alpa_Animais') AS AnimalID
" directly using the SQL Server Management Studio I get this value.
Does anyone know if there is a way to get this value from a method inside a web app using Linq?
Thank you
Josi