EF6: MissingMethodException in DbEntityProviderServicesConfiguration

EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Postby duncansmart » Thu 28 Feb 2013 18:30

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.
duncansmart
 
Posts: 5
Joined: Tue 22 Jan 2013 11:57


Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Postby duncansmart » Thu 28 Feb 2013 20:31

Looks like it was part of EF6 Alpha 3 released yesterday: http://blogs.msdn.com/b/adonet/archive/2013/02/27/ef6-alpha-3-available-on-nuget.aspx
duncansmart
 
Posts: 5
Joined: Tue 22 Jan 2013 11:57

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Postby Shalex » Fri 01 Mar 2013 08:38

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Re: EF6: MissingMethodException in DbEntityProviderServicesConfiguration

Postby Shalex » Thu 14 Mar 2013 16:39

New build of dotConnect for PostgreSQL 6.5.202 is available!
It can be downloaded from http://www.devart.com/dotconnect/postgresql/download.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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL