Page 1 of 1

Entity Framework 6 problem

Posted: Wed 04 Dec 2013 23:03
by colm
I tried following the steps here:http://www.devart.com/dotconnect/postgr ... 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

Re: Entity Framework 6 problem

Posted: Thu 05 Dec 2013 14:57
by Shalex
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 ... force.html.