1. Development environment Installation Oracle Odp.net : http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
???? Download 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio
???? Of course you need an Oracle account.
????
2. Install 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio in the development environment, check the installation process
???? Oracle Data Provider for. Net
???? Oracle Providers for ASP
???? Oracle Developer Tools for vistual Studio
???? Oracle Provider for OLE DB
???? Orace Services for Microsoft Transaction Server
???? Oracle Data Access Components documentation for Vistual Studio
????
3. Install the NuGet package
???? Oracle.managedataaccess
???? Oracle.ManagedDataAccess.EntityFramework
???? The version I chose is the latest
???? The data source for EF has Oracle data options and supports Codefirst
????
4. The server environment also needs to install 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio
The second step of Oracle Developer Tools for vistual Studio needs to be removed during the installation process.
If you do not install Oracle Data Access, the Web site after the server IIS deployment will error
5. My development environment and server environment are as follows:
development environment: Win10x64enterprise VisualStudio Enterprise
Server environment: WINDOWSSERVER2012R2 x64
?
I hope this article will help you.
????
Detailed tutorials on entityframework connecting to Oracle