When I run the query directly, using the SQL Server Management Studio I get the value.
Code: Select all
"SELECT IDENT_CURRENT ('alpa_Animais') AS AnimalID"
Does anyone know if there is a way to get this from a method inside a web app using Linq?
Thank you
Josi