No Entity Framework provider found for the ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client'

前端 未结 2 712
走了就别回头了
走了就别回头了 2021-01-11 21:55

After installing Entity Framework 6.0.1, I keep getting an error

MAXModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider

相关标签:
2条回答
  • 2021-01-11 22:24

    Try to use ODAC 12c Release 3 which includes support for Entity Framework 6 Code First and Code First Migrations; NuGet, .NET Framework 4.5.2; and ODP.NET, Managed Driver XML DB. As per

    http://www.oracle.com/technetwork/topics/dotnet/whatsnew/index.html

    0 讨论(0)
  • 2021-01-11 22:51

    The current version of the Oracle Managed ODP is not compatible with EF 6, learned this the hard way. Use EF 5 instead.

    There is a ticket open at oracle support, I can't find it right now though.

    EDIT

    I got another upvote on this today, so I thought I'd add that the newest version of ODP.net now supports EF 6.

    EDIT AGAIN

    Since a while back an official ODP.NET entity framework package is available at nuget (link)

    0 讨论(0)
提交回复
热议问题