Solved

connection from .NET to Oracle RDBMS v11.1

Posted on 2012-03-22
2
624 Views
Last Modified: 2012-03-22
What is connection string for Oracle RDBMS? Should I  continue to use ADO.NET?

Background: My C#.NET application is using ADO.NET (SQLConnection, SqlCommand, SqlDataReader classes) to select data from Microsoft SQL Server database tables. The data tables are moving from Microsoft to an Oracle RDBMS version 11.0.7.0 database.

The following is my connection string to SQL Server.
Data Source=STEP2SQL;Initial Catalog=ProductSafety;Integrated Security=True

Also ... What is the proper .NET class for use with an Oracle database?
System.Data.OracleClient Namespace is deprecated.
0
Comment
Question by:tonygallo10
2 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 37753333
Use Oracle's provider: ODP.Net

http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html

Everything should be similar to what you are used to.
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 37753466
check:

http://www.infoq.com/news/2009/06/oracleclient_deprecated

I have been using ODP.Net since .Net 2.x
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
exp/imp 25 73
How to join on ID, with prefix? 15 58
Adding Existing Item to vb.net Project causes Errors 4 31
dbms_crypto.decrypt   errors out 6 31
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question