问题
I am using EF for .NET 4 and the firebird .NET provider 3.0.2.0 with Firebird 2.5.
I have created a stored procedure as follows (DDL from IBEXPERT):-
SET TERM ^ ;
create or alter procedure GETNEWROWID
returns (
ROWID ROWID)
as
begin
/* Procedure Text */
rowid = (select gen_uuid() from rdb$database);
suspend;
end
^
SET TERM ; ^
/* Existing privileges on this procedure */
GRANT EXECUTE ON PROCEDURE GETNEWROWID TO SYSDBA;
When I try and update my model, the SP is listed but when I select it, it does not get added to the model. There is no trace of it.
I have tried to add it as a function import but it does not appear in the dropdown list.
What am I doing wrong?
Regards
来源:https://stackoverflow.com/questions/16301877/entity-framework-wont-import-my-firebird-stored-procedure