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

前端 未结 2 736
走了就别回头了
走了就别回头了 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: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)

提交回复
热议问题