LoginSignup
1
0

More than 5 years have passed since last update.

Npgsql 3.2.0 rocks !

Last updated at Posted at 2017-02-06

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

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0