sp with multiple Ref Cursors
Posted: Thu 07 Feb 2013 00:57
I'm trying to use LinqConnect to map stored proc that returns 2 refcursors.
I'm using data context designer to add mapping to the sp.
When I'm trying to add the following
... DataContext constructor crashes with out of range exception.
When I change it to
... it crashes when mapping recordset to result objects, it cannot find columns by name.
When I change it to
... it crashes with Oracle exception "wrong number or types of arguments".
Please help
I'm using data context designer to add mapping to the sp.
When I'm trying to add the following
Code: Select all
create or replace procedure LargeTest
(
Result1 OUT SYS_REFCURSOR,
Result2 OUT SYS_REFCURSOR,
)
AS
BEGIN
...
END;
When I change it to
Code: Select all
create or replace procedure LargeTest
(
Id INT,
Result1 OUT SYS_REFCURSOR,
Result2 OUT SYS_REFCURSOR,
)
AS
BEGIN
...
END;
When I change it to
Code: Select all
create or replace procedure LargeTest
(
Name in Varchar2,
Id in INT,
DateFrom in Varchar2, DateTo in Varchar2,
Result1 OUT SYS_REFCURSOR,
Result2 OUT SYS_REFCURSOR,
)
AS
BEGIN
...
END;
Please help
