Entity Framework 6 problem

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
colm
Posts: 2
Joined: Wed 04 Dec 2013 21:35

Entity Framework 6 problem

Post by colm » Wed 04 Dec 2013 23:03

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Entity Framework 6 problem

Post by 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 ... force.html.

Post Reply