npgsql
- 3.2 just released
- very easy to access PostgreSQL!
- though need to clean the previous environment completely, otherwise causes troubles ...into nowhere...
(added 2017-02-11) How to use EF Core with npgsql - data first
- (install Powershell 5.0)
PM> Install-Package Microsoft.EntityFrameworkCore.Tools -pre
PM> Scaffold-DbContext "Host=localhost;Database=mydatabase;Username=myuser;Password=mypassword" Npgsql.EntityFrameworkCore.PostgreSQL
- voilà Postgres Table -> Class ORMapping Done !
Must READ this thread
- for me, it took me to remove all npgsql entries in all machine.config files and uninstall all npgsql related modules with Nuget Manager in VS2015.
How to install
- https://github.com/npgsql/Npgsql/releases
- Download Npgsql.vsix - DONT DOWNLOAD Npgsql-3.2.0.msi
- install NPgsql.vsix
- voilà