entity framework won't import my firebird stored procedure

こ雲淡風輕ζ 提交于 2019-12-24 07:25:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!