w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Issue EntityFramework 5.0.0 connection with oracle 11g

below is my connection string which fixed connectivity issue.

<add name="dbContext" connectionString="DATA
SOURCE=yourdatasource;PASSWORD=xxx;PERSIST SECURITY INFO=True;USER ID=abc;"
providerName="Oracle.ManagedDataAccess.Client" />

Make sure you are using EF 5.0.0 and ODAC 64-bit(if your machine is 64 bit) ODAC 12c Release 2 (12.1.0.1.2) Xcopy for Windows x64

Thanks





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.