Using VisualStudio2013, just upgraded to ODAC 12c Release 2 and also upgraded to EntityFramework 6.0.2 (from ODAC 12c Release 1 and EF5). Receiving following error:
An exception of type 'System.Data.Entity.Core.MetadataException' occurred in mscorlib.dll but was not handled in user code
Additional information: Schema specified is not valid. Errors:
GGMATDataModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
According to Microsoft, starting with EF6 you need to register the provider in app.config with the following format:
<entityFramework>
<providers>
<provider invariantName="My.Invariant.Name" type="MyProvider.MyProviderServices, MyAssembly" />
</providers>
</entityFramework>
I tried the following but still got same error. Any ideas?
<entityFramework>
<providers>
<provider invariantName="Oracle.ManagedDataAccessClient" type="Oracle.ManagedDataAccessClient.OracleClientFactory, Oracle.ManagedDataAccessClient" />
</providers>
</entityFramework>