Wednesday, 9 May 2012

.net4 connection to oracle database using entity framework

ORACLE and Entity Framework

I have small console app to check wheter my db connection works with .NET.
But as you can see below my code throwing errors.



After little of googling answer is here:


What you need to do is go to this page:

http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html


download
ODAC xxx Release 4 and Oracle Developer Tools for Visual Studio
mine is: ODAC 11.2 Release 4 and Oracle Developer Tools for Visual Studio (11.2.0.3.0)

Run it on your pc.

and complete with

After then your code should be working.