devart

How to call a Stored Procedure inside an oracle package with Entity Framework?

拥有回忆 提交于 2019-11-27 02:56:55
问题 I have a package in oracle 11g as follow: CREATE OR REPLACE PACKAGE "HRS.PKG_TRAINING_SP" as TYPE T_CURSOR IS REF CURSOR; procedure GETPERSONNELTRAINIGLIST( personnel_Id_in in string, base_date_in in string, is_current_in in number, lst OUT T_CURSOR ); end; How can I execute above procedure package ( GETPERSONNELTRAINIGLIST ) with Entity Framework (code-first)? Note: I am using Entity Framwork 6.0 (code-first) and devart EF Provider for Oracle. Updated: I am using following code: var param1 =