EF6 and dotconnect 8.5.478

EF6 and dotconnect 8.5.478

Postby vinz » Wed 02 Sep 2015 09:28

Hello,
i have update my project from dotconnect 8.4.333 to dotconnect 8.5.478 and i have now an error in the constructor of ApplicationDbContext.
The error message (translate from french to english) :
The member 'Instance' of the Entity Framework provider type 'Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.5.478.0, Culture=neutral, PublicKeyToken=09af7300eec23701' did not return a object that inherits 'System.Data.Entity.Core.Common.DbProviderServices'.
Entity Framework providers must inherit this class and member 'Instance' must return the singleton instance of that provider.
It is possible that the provider does not support Entity Framework 6 or later


I use Entity Framework 6 in my project, i use the reference assembly Devart.Data.Oracle.Entity version 8.5.478.6 in the project.

Have you any idea how can i resolve the problem because all my project is down now

thanks
vinz
 
Posts: 11
Joined: Fri 16 Jan 2015 12:51

Re: EF6 and dotconnect 8.5.478

Postby vinz » Wed 02 Sep 2015 09:53

I'm sorry, i have find my mistake.
I have forget to change my web.config file, where the old reference to dotconnect was specify for provider factory.
Sorry for the post
vinz
 
Posts: 11
Joined: Fri 16 Jan 2015 12:51


Return to dotConnect for Oracle