EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, complex type), scalar-valued functions (composable, non-composable), aggregate functions, built-in functions, niladic functions, and model defined functions.
If I'm mapping a stored proc with one output param and one input param, exceptions are thrown 👍
SqlException: The formal parameter "@QueueId" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output.
Please advise, it does not matter what order I change the args to stored proc, but when they are both output, it works.
SqlException: The formal parameter "@QueueId" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output.
SQL:
**alter procedure [TM].[TaskInputZombie5]
(
@Message nvarchar(400) output,@QueueId int
)
as
begin
declare @ierr int = 10
select @QueueId = @ierr * @ierr
If I'm mapping a stored proc with one output param and one input param, exceptions are thrown 👍 SqlException: The formal parameter "@QueueId" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output.
Please advise, it does not matter what order I change the args to stored proc, but when they are both output, it works.
SqlException: The formal parameter "@QueueId" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output.
SQL:
**alter procedure [TM].[TaskInputZombie5] ( @Message nvarchar(400) output,@QueueId int
) as begin declare @ierr int = 10 select @QueueId = @ierr * @ierr
set @Message = @Message + 'more: ' + CONVERT(nvarchar(40),@QueueId)
return 0 end** c#: