I have a stored procedure which return SCOPE_IDENTITY() ->int.
Then, if I import that SP in the EF file (Add Function Import), I see something weird.
Mappings in the .edmx file
when import that SP:
Why the column Id
is treated as int
and in the SP as a decimal
? (I know I can cast scope_identity() as int)