Edited at

Npgsql 3.2.0 rocks !

More than 1 year has passed since last update.


npgsql


  • 3.2 just released

  • very easy to access PostgreSQL! :smiley:

  • 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


  1. (install Powershell 5.0)


  2. PM> Install-Package Microsoft.EntityFrameworkCore.Tools -pre


  3. PM> Scaffold-DbContext "Host=localhost;Database=mydatabase;Username=myuser;Password=mypassword" Npgsql.EntityFrameworkCore.PostgreSQL

  4. voilà Postgres Table -> Class ORMapping Done !:thumbsup:


Must READ this thread


How to install


  1. https://github.com/npgsql/Npgsql/releases

  2. Download Npgsql.vsix - DONT DOWNLOAD Npgsql-3.2.0.msi

  3. install NPgsql.vsix

  4. voilà :thumbsup:

npgsql.jpeg