求助:自定义Oracle适配器问题
Posted: Tue Sep 24, 2019 1:09 am
Hello !
We used the Stimulsoft.Report.Net 2015 version.It connects to Oracle using Stimulsoft.Report.OracleODP;The report we wrote earlier is based on Stimulsoft.Report.OracleODP.
Stimulsoft.Report.OracleODP is not supported in the latest version.The oracle parameter cannot be assigned by name, and can only be assigned according to the order of the parameters.
We are considering an upgrade. If we upgrade to a new version, how do I be compatible with previous reports?The stimulsoft.report.oracleodp.dll supports assignment by parameter name. The latest version of Stimulsoft.Report.Net has integrated the Oracle Data Adapter.((oracle dataadapter)dataadapter).selectcommand.bindbyname=true; but now this property is not supported in newer versions of adapters
We have rewritten the adapter CustomOracleODPAdapterService, CustomOracleODPDatabase, CustomOracleODPSource report designer to identify, can write data sources and queries, and put the data source into the report designer for preview error:
"The error of compilation
The error of compilation is found in The 'test1' report:
Namespace "Stimulsoft. Report. The Dictionary" does not exist in the type or namespace name "CustomOracleODPSource" (lack of assembly references?)"
Specific code : public class 数据源2DataSource : Stimulsoft.Report.Dictionary.CustomOracleODPSource Hint missing assembly reference
We used the Stimulsoft.Report.Net 2015 version.It connects to Oracle using Stimulsoft.Report.OracleODP;The report we wrote earlier is based on Stimulsoft.Report.OracleODP.
Stimulsoft.Report.OracleODP is not supported in the latest version.The oracle parameter cannot be assigned by name, and can only be assigned according to the order of the parameters.
We are considering an upgrade. If we upgrade to a new version, how do I be compatible with previous reports?The stimulsoft.report.oracleodp.dll supports assignment by parameter name. The latest version of Stimulsoft.Report.Net has integrated the Oracle Data Adapter.((oracle dataadapter)dataadapter).selectcommand.bindbyname=true; but now this property is not supported in newer versions of adapters
We have rewritten the adapter CustomOracleODPAdapterService, CustomOracleODPDatabase, CustomOracleODPSource report designer to identify, can write data sources and queries, and put the data source into the report designer for preview error:
"The error of compilation
The error of compilation is found in The 'test1' report:
Namespace "Stimulsoft. Report. The Dictionary" does not exist in the type or namespace name "CustomOracleODPSource" (lack of assembly references?)"
Specific code : public class 数据源2DataSource : Stimulsoft.Report.Dictionary.CustomOracleODPSource Hint missing assembly reference