How to setup the connection string and entity framework provider for code first development with EF6 and dotConnect 6.8.333.0?
Your blog post http://blogs.devart.com/dotconnect/enti ... force.html says i have to reference revision number "6". But there is no revision 6 Devart.Data.PostgreSql assembly in the dotConnect directory. The only revision 6 assembly i found is Devart.Data.PostgreSql.Entity which i normally do not use for code first development.
Setup EF6 Code First with dotConnect for PostgreSQL 6.8.33.0
Re: Setup EF6 Code First with dotConnect for PostgreSQL 6.8.33.0
I found out the correct setting:
Code: Select all
<entityFramework>
<providers>
<provider invariantName="Devart.Data.PostgreSql" type="Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=6.8.333.6, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</providers>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
</entityFramework>