Page 1 of 1

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

Posted: Fri 30 May 2014 09:40
by omerabb
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

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

Posted: Fri 30 May 2014 10:43
by MariiaI
"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 ... force.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.

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

Posted: Fri 30 May 2014 13:56
by omerabb
Thanks Its Work ,But I use ms enitity model because my all base on it.

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

Posted: Sun 01 Jun 2014 21:47
by cypress
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?

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

Posted: Mon 02 Jun 2014 08:14
by MariiaI
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/postgr ... al_EF.html.