Entity Framework 6.1.3 support for PostgreSQL
Posted: Thu 05 Jan 2017 13:34
Hello Experts,
I am trying to connect to a PostgreSQL database with Entity Framework 6.1.3. I used trial version of dotConnect Profesisonal edition for PostgreSQL. Problem is, it only works till I use EF 5.0, when I try to use EF having version > 5.0 (till 6.1.3 which is latest), I face this error:
Schema specified is not valid. Errors:
Model1.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Devart.Data.PostgreSql'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
Any help greatly appreciated. Thanks!
I am trying to connect to a PostgreSQL database with Entity Framework 6.1.3. I used trial version of dotConnect Profesisonal edition for PostgreSQL. Problem is, it only works till I use EF 5.0, when I try to use EF having version > 5.0 (till 6.1.3 which is latest), I face this error:
Schema specified is not valid. Errors:
Model1.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'Devart.Data.PostgreSql'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
Any help greatly appreciated. Thanks!