Entity Framework 6 problem

Entity Framework 6 problem

Postby colm » Wed 04 Dec 2013 23:03

I tried following the steps here:http://www.devart.com/dotconnect/postgresql/docs/Tutorial_EF.html#model

But at the very end of the process, I get this error message:
"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"

My app.config contains provider version 7.1.45.6.
I get the version by right clicking on Devart.Data.PostgreSql.Entity.dll under
C:\Program Files (x86)\Devart\dotConnect\PostgreSQL\Entity\EF6

Given that I had the above problem, I tried the "Devart Entity Model" and got on quite well with it. I am very happy so far actually...

So my question is: Is there any difference in using the Devart Entity Model, versus the "ADO.Net Entity Model" approach? Is Devart Entity Model essentially the same thing?

Thank you
colm
 
Posts: 2
Joined: Wed 04 Dec 2013 21:35

Re: Entity Framework 6 problem

Postby Shalex » Thu 05 Dec 2013 14:57

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.

colm wrote:"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"

Entity Developer adds registration of EF-provider in app.config automatically. With EDM Designer, you should add registration manually: http://blog.devart.com/entity-framework-6-support-for-oracle-mysql-postgresql-sqlite-and-salesforce.html.
Shalex
Devart Team
 
Posts: 7777
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL