odp.net

Code for calling a function in a package from C# and ODP.NET

倾然丶 夕夏残阳落幕 提交于 2019-11-26 19:54:23
问题 I've tried to write C# code with ODP.NET to call a function in a package. I'm getting the two errors below: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to INSERT_FUNC' ORA-06550: line 1, column 7: PL/SQL: Statement ignored ORA-06550: line 1, column 7: PLS-00221: 'INSERT_FUNC' is not a procedure or is undefined ORA-06550: line 1, column 7: PL/SQL: Statement ignored My OracleCommand is set up as: cmd.CommandText = "PKG_NAME.INSERT_FUNC"; cmd.CommandType =

How to call an Oracle function with a Ref Cursor as Out-parameter from C#?

余生颓废 提交于 2019-11-26 18:29:17
问题 I'm using a product that provides a database API based on Oracle functions and I'm able to call functions via ODP.NET in general. However, I can't figure out, how to call a function that includes a Ref Cursor as Out-parameter. All the samples I found so far either call a procedure with Out-parameter or a function with the Ref Cursor as return value. I tried to define the parameters similiarly, but keep getting the error that the wrong number or type of parameters is supplied. Here is the

Does ODP.NET require Oracle Client installation

牧云@^-^@ 提交于 2019-11-26 15:32:08
问题 I have to connect Oracle 11g DB from .NET code. For that purpose I installed ODP.NET bur after reading some forum posts I recognized that I need Oracle Client installation too. Is that true? I see that the Oracle Client has a size of ca. 2GB!!! Do I really need to install such a huge client only to be able to connect Oracle DBs? 回答1: Alex Keh from Oracle in aug 2013 says: Managed ODP.NET is released. It is currently part of the Oracle DB 12c client. To use managed ODP.NET, you have to

Can you use Microsoft Entity Framework with Oracle? [closed]

与世无争的帅哥 提交于 2019-11-26 12:13:45
Is it possible to use Microsoft Entity Framework with Oracle database? DevArt's OraDirect provider now supports entity framework. See http://devart.com/news/2008/directs475.html Venkat Update : Oracle now fully supports the Entity Framework. Oracle Data Provider for .NET Release 11.2.0.3 (ODAC 11.2) Release Notes: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/whatsnew.htm#BGGJIEIC More documentation on Linq to Entities and ADO.NET Entity Framework: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featLINQ.htm#CJACEDJG Note: ODP.NET also supports Entity SQL. Gazmo Oracle have

Managed ODP.NET driver does not show up in Data Source dialog

与世无争的帅哥 提交于 2019-11-26 09:56:56
问题 Having installed managed ODP.NET on my computer, the ODP.NET Managed Driver does not appear inside the Choose Data Source dialog in Visual Studio 2013 Professional. This is how it should look like: This is how it actually looks on my machine: I\'ve followed the steps described in the \"An Easy Drive to .NET\" article on the Oracle website. I\'ve also installed the Oracle Developer Tools for Visual Studio . Still no managed driver to select. My question: Is there anything I forgot to do in

What is the minimal setup required to deploy a .NET application with Oracle client 11?

廉价感情. 提交于 2019-11-26 07:57:16
问题 What is the minimal setup required to be able to deploy a .NET application that talks to an Oracle database? 回答1: Josh- Thank you very much for taking the time to answer. Your instructions helped a whole lot, and are very close to what I have found on my own. Interestingly enough, I found it can be slimmed a little more. For those in my situation who Do not want their users to have to install ODAC or the full-size Oracle Client Do not care about the re-usability of the particular client

The provider is not compatible with the version of Oracle client

大兔子大兔子 提交于 2019-11-25 22:45:58
问题 I\'m trying to use the Oracle ODP.NET 11g (11.1.0.6.20) Instant Client on my ASP.net project as a Data Provider but when I run the aspx page I get a \" The provider is not compatible with the version of Oracle client \" error message. Any help would be appreciated. I\'ve referenced the Data Provider in Visual Studio 2005 and the code behind looks like this: using Oracle.DataAccess.Client; .. OracleConnection oOracleConn = new OracleConnection(); oOracleConn.ConnectionString = \"Data Source