简体   繁体   English

DAAB和ref游标,为什么没有最新的教程?

[英]DAAB and ref cursors, Why no up to date tutorials?

Why are there no up to date tutorials books, or anything like that online for working with enterprise library 5.0 and Oracle ref cursors? 为什么没有最新的教程书籍,或者没有类似的在线书籍来使用Enterprise Library 5.0和Oracle ref游标? Is there no one on Earth who needs help with that? 地球上没有人需要这方面的帮助吗? I am absolutely dumbfounded. 我绝对傻眼了。 There was a way to do it in older versions, but the functionality of some objects has been taken out and it doesn't seem to have been replaced. 在较旧的版本中,有一种方法可以做到这一点,但是某些对象的功能已被删除,似乎还没有被替换。 Example, AddCursorOutParameter is a method in the old DAAB which added output params to the database command object. 例如,AddCursorOutParameter是旧DAAB中的一种方法,该方法将输出参数添加到数据库命令对象。 That method doesn't exist in the current DAAB... It seemed infinitely usefull. 该方法在当前的DAAB中不存在……似乎无限有用。 Why on earth isn't it in the latest version... Cause right now that is exactly what I am struggling with. 到底为什么不是最新版本...原因恰恰是我正在努力解决的问题。 I have spent a couple of days trying to get this done the right way, and this is definitely going to make my project run over time. 我花了几天的时间试图以正确的方式完成此任务,这肯定会使我的项目随着时间的推移而运行。

How do you deal with ref cursors in .net when trying to call stored procedures that return ref cursors using Enterprise Library 5.0? 尝试调用使用Enterprise Library 5.0返回引用游标的存储过程时,如何处理.net中的引用游标? If anybody has any answers whatsoever, I would be happy to hear them. 如果有人有任何答案,我很乐意听到。 Thanks again guys. 再次感谢你们。

此处概述的解决方案: http ://devstuffs.wordpress.com/2012/03/13/enterprise-library-5-with-odp-net/为我惊醒了。

Put a null placeholder: http://tiredblogger.wordpress.com/2007/08/27/enterprise-library-and-oracle-stored-procedure-record-sets/ 放置一个空的占位符: http : //tiredblogger.wordpress.com/2007/08/27/enterprise-library-and-oracle-stored-procedure-record-sets/

You have to use a parameter array list , you cannot use the AddParameter. 您必须使用参数数组列表 ,而不能使用AddParameter。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM