Problem calling procedure via LinqConnect

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
killpapa
Posts: 19
Joined: Sun 29 Jan 2012 16:12

Problem calling procedure via LinqConnect

Post by 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: 19
Joined: Sun 29 Jan 2012 16:12

Re: Problem calling procedure via LinqConnect

Post by killpapa » Wed 19 Oct 2016 13:57

hello! :D

killpapa
Posts: 19
Joined: Sun 29 Jan 2012 16:12

Re: Problem calling procedure via LinqConnect

Post by killpapa » Thu 20 Oct 2016 10:30

problem is solved, error in the generator LinqConnect

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Problem calling procedure via LinqConnect

Post by 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.

Post Reply