Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I want to connect my WPF application created in 3.5 framework(VS2008) with oracle database without oracle client present in my machine.
I don't want to use service to connect. Please let me know the way to connect.

What I have tried:

I have tried ODP.Net DLL created in Visual studio 2013 and tried to add in visual studio 2005 but it was not supporting to framework 3.5. I have tried with oracle instant but in that we have to change system environment variable which I don't want
Posted
Updated 9-Apr-17 23:11pm
v2
Comments
CHill60 7-Apr-17 9:29am    
OleDB?
Herman<T>.Instance 10-Apr-17 4:50am    
The only option left

1 solution

Now that @digmanus agrees with me I'll post this as a solution.

Use an OleDB connection.

Some reference links in case you need them:
Oracle Provider for OLE DB Connection Strings - ConnectionStrings.com[^] or Microsoft OLE DB Provider for Oracle Connection Strings - ConnectionStrings.com[^]
Oracle OleDB developer's guide[^] (apologies if you need an Oracle account for that last link - it's free anyway)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900