No Entity Framework provider found for the 'Devart.Data.PostgreSql

No Entity Framework provider found for the 'Devart.Data.PostgreSql

Postby omerabb » Fri 30 May 2014 09:40

Hi
Im Using Vs 2013 EntityFrmawork 6.1.0 and Latest Version Of dotConnect for PostgreSQL 7.3 Trial version.
When I Generate Model form database by "Entity Data Model Wizard" at the end it give me error.


Image
omerabb
 
Posts: 2
Joined: Fri 30 May 2014 08:59

Re: No Entity Framework provider found for the 'Devart.Data.PostgreSql

Postby MariiaI » Fri 30 May 2014 10:43

"Your project references the latest version of Entity Framework; however, an Entity Framework database provider compatible with this version could not be found for your data connection. Exit this wizard, install a compatible driver, and rebuild your project before performing this action"

When working with EDM Designer you should add the registration of EF-provider to the *.config file before adding a new ADO.NET Entity Data Model to the project. The sample for dotConnect for PostgreSQL is available here: http://blog.devart.com/entity-framework-6-support-for-oracle-mysql-postgresql-sqlite-and-salesforce.html

Entity Developer adds this registration of EF-provider to the *.config file automatically. We recommend you to use Entity Developer (Devart Entity Model, *.edml) instead of EDM Designer (ADO.NET Entity Data Model, *.edmx) because it is adjusted for working with PostgreSQL and has an advanced functionality: http://www.devart.com/entitydeveloper/ed-vs-edm.html.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: No Entity Framework provider found for the 'Devart.Data.PostgreSql

Postby omerabb » Fri 30 May 2014 13:56

Thanks Its Work ,But I use ms enitity model because my all base on it.
omerabb
 
Posts: 2
Joined: Fri 30 May 2014 08:59

Re: No Entity Framework provider found for the 'Devart.Data.PostgreSql

Postby cypress » Sun 01 Jun 2014 21:47

I have the same problem, and I already edited the app.config as recommended. Is there any way at all to use the Entity Framework Designer wizard instead of the Devart entity developer?
cypress
 
Posts: 1
Joined: Sun 01 Jun 2014 20:30

Re: No Entity Framework provider found for the 'Devart.Data.PostgreSql

Postby MariiaI » Mon 02 Jun 2014 08:14

cypress wrote:I have the same problem, and I already edited the app.config as recommended. Is there any way at all to use the Entity Framework Designer wizard instead of the Devart entity developer?
After you have installed the EntityFramework package (EF6) and added the registration of the EF provider to the config file of your application, please save the changes and build your solution. After that, try adding a new ADO.NET Entity Data Model with dotConnect for PostgreSQL again.

Please refer to http://www.devart.com/dotconnect/postgresql/docs/?Tutorial_EF.html.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to dotConnect for PostgreSQL