问题描述
我参考 Oracle.DataAccess.dll 使用 OracleBulkCopy 类.我想使用 Oracle.ManagedDataAccess.dll 进行轻松部署.但是后来我收到了构建错误未找到 OracleBulkCopy"
I am using OracleBulkCopy Class with reference to Oracle.DataAccess.dll. I want to use Oracle.ManagedDataAccess.dll for easy deployment. But then I got build error "OracleBulkCopy not found"
有谁知道为什么 OracleBulkCopy 不包含在 Oracle.ManagedDataAccess.dll 中?
Does anyone know why OracleBulkCopy is not included in Oracle.ManagedDataAccess.dll?
推荐答案
你说得对.在撰写本文时,ODP.NET 托管驱动程序不支持 OracleBulkCopy.
You are correct. At the time of this writing OracleBulkCopy is not supported in ODP.NET, Managed Driver.
未包含的原因仅仅是功能优先级的问题.随着托管驱动程序的功能变得更加完整,最终将添加 OracleBulkCopy 类.
The reason is is not included was simply a matter of feature priority. As the Managed Driver becomes more feature complete, eventually the OracleBulkCopy class will be added.
将来,任何人都可以查看最新的 ODP.NET 书籍的ODP.NET 托管驱动程序和非托管驱动程序之间的差异"部分,了解哪些不受支持:
In the future, anyone can look at the "Differences between the ODP.NET Managed Driver and Unmanaged Driver" section of the most recent ODP.NET book to see what is not supported:
https://docs.oracle.com/cd/E56485_01/win.121/e55744/intro004.htm#ODPNT8146
这篇关于Oracle.ManagedDataAccess.dll 中的 OracleBulkCopy 类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!