开发者

c# transform ref_cursor into a list ar a dictionary

开发者 https://www.devze.com 2023-04-12 07:16 出处:网络
Hi I was wonder开发者_StackOverflow社区ing how to transform ref_cursor with a table of results generated by a stored procedure into a list or dictionary,I mean this:

Hi I was wonder开发者_StackOverflow社区ing how to transform ref_cursor with a table of results generated by a stored procedure into a list or dictionary,I mean this:

stored proc procedure(userID in integer,result out sys_refcursor); returns a table 6*5 or smtng similar

now we call this procedure from c# and we have a ref_cursor in C# =>

At this point how to transform ref_cursor into a dictionary/list???

hope you could show some examples or usefull links :)


I'm clear what you are asking... I don't think you can magically transform a cursor into dictionary without first reading the data into some datatable, dataset or some other local storage.

0

精彩评论

暂无评论...
验证码 换一张
取 消