Page 1 of 1

EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Posted: Thu 28 Feb 2013 18:30
by duncansmart
The latest EF6 alpha update (today) has broken Devart.Common.Entity.DbEntityProviderServicesConfiguration - I'm getting the following error when my application starts:

Code: Select all

MissingMethodException: Method not found: 'Void System.Data.Entity.Config.DbConfiguration.AddProvider(System.String, System.Data.Entity.Core.Common.DbProviderServices)'.
   Devart.Common.Entity.DbEntityProviderServicesConfiguration..ctor() +0
   Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServicesConfiguration..ctor() +5
   MyNamespace.Data.MyDbContext..cctor() in c:\MyProject\MyDbContext.cs:32
Looks like they've removed the AddProvider method from System.Data.Entity.Config.DbConfiguration.

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Posted: Thu 28 Feb 2013 19:27
by duncansmart
Yep, DbConfiguration.AddProvider was renamed AddDbProviderServices

http://entityframework.codeplex.com/Sou ... uration.cs

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Posted: Thu 28 Feb 2013 20:31
by duncansmart
Looks like it was part of EF6 Alpha 3 released yesterday: http://blogs.msdn.com/b/adonet/archive/ ... nuget.aspx

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Posted: Fri 01 Mar 2013 08:38
by Shalex
We are working on the EF6 Alpha 3 support. The current version of dotConnect for PostgreSQL supports EF6 Alpha 2. As a temporary workaround, please use EF6 Alpha 2: run "install-package entityframework -pre -version:6.0.0.0-alpha2" via Package Mananger Console.

We will post here when the EF6 Alpha 3 support is implemented.

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Posted: Thu 14 Mar 2013 16:39
by Shalex
New build of dotConnect for PostgreSQL 6.5.202 is available!
It can be downloaded from http://www.devart.com/dotconnect/postgr ... nload.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=3&t=26197.