DAAB 和参考光标,为什么没有最新的教程?
为什么没有最新的教程书籍或类似的在线书籍来使用企业库 5.0 和 Oracle 引用游标?地球上没有人需要帮助吗?我彻底傻眼了。在旧版本中有一种方法可以做到这一点,但是某些对象的功能已被删除,并且似乎没有被替换。例如,AddCursorOutParameter 是旧 DAAB 中的一个方法,它将输出参数添加到数据库命令对象。当前的 DAAB 中不存在该方法...它似乎无限有用。为什么最新版本中没有它......因为现在这正是我正在努力解决的问题。我花了几天时间试图以正确的方式完成这项工作,这肯定会让我的项目随着时间的推移而运行。
当尝试使用 Enterprise Library 5.0 调用返回引用游标的存储过程时,如何处理 .net 中的引用游标?如果有人有任何答案,我很高兴听到他们的声音。再次感谢你们。
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? 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. That method doesn't exist in the current DAAB... It seemed infinitely usefull. 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? If anybody has any answers whatsoever, I would be happy to hear them. Thanks again guys.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里概述的解决方案:
http://devstuffs.wordpress.com/ 2012/03/13/enterprise-library-5-with-odp-net/
为我醒来。
The soulution outlined here:
http://devstuffs.wordpress.com/2012/03/13/enterprise-library-5-with-odp-net/
woked for me.
放置一个空占位符: http://tiredblogger.wordpress.com/2007/08/27/enterprise-library-and-oracle-stored-procedure-record-sets/
您必须使用 参数数组列表,不能使用AddParameter。
Put a null placeholder: 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.