1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

  • 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

  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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?