Problem calling procedure via LinqConnect

Problem calling procedure via LinqConnect

Postby killpapa » Tue 18 Oct 2016 08:23

hi.
I use version dotConnect for Oracle 9.1.121. (LinqConnect Model), in 6.33.0 no problem!
this functions is successfully generated.

ex 1.
Code: Select all
function Xxx  (xxx1 in varchar2,
xxx2 out number,
xxx3 out varchar2,
xxx4 in integer DEFAULT 1 ) return sys_refcursor;


but an error in the call.
System.InvalidCastException: Specified cast is not valid.
at XxxContext.XxcDataContext.Xxx(String xxx1, Nullable`1& xxx2, String& xxx3, Nullable`1 xxx4)


ex 2.
Code: Select all
  function Xxx2 (xxx1  in out varchar2,
    xxx2 out number,
    xxx3 out varchar2,
    xxx4 in integer DEFAULT 1 ) return sys_refcursor;


error:
System.InvalidCastException: Unable to cast object of type 'Devart.Data.Oracle.OracleCursor' to type 'System.String'.
at XxxContext.XxxDataContext.Xxx2(String& xxx1, Nullable`1& xxx2, String& xxx3, Nullable`1 xxx4)


help me please
killpapa
 
Posts: 13
Joined: Sun 29 Jan 2012 16:12

Re: Problem calling procedure via LinqConnect

Postby killpapa » Wed 19 Oct 2016 13:57

hello! :D
killpapa
 
Posts: 13
Joined: Sun 29 Jan 2012 16:12

Re: Problem calling procedure via LinqConnect

Postby killpapa » Thu 20 Oct 2016 10:30

problem is solved, error in the generator LinqConnect
killpapa
 
Posts: 13
Joined: Sun 29 Jan 2012 16:12

Re: Problem calling procedure via LinqConnect

Postby Shalex » Fri 21 Oct 2016 10:03

killpapa wrote:problem is solved, error in the generator LinqConnect

Thank you for the details provided by email. We will notify you when the issue is fixed.
Shalex
Devart Team
 
Posts: 7616
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle