postgresql does not appear in Data Source when generating .ADO.net Entity Data Model

后端 未结 5 1881
北荒
北荒 2020-12-31 21:14

I succeeded in accessing an existing postgresql dbase by using npgsql directly. I used for this:

  1. PostgreSQL 9.0.10 (32 bit)
  2. Visual Studio 2015 Commu
5条回答
  •  情深已故
    2020-12-31 21:30

    I was confused while 3 days becuase the same problem.

    But, I found solve this problem:

    1. install .vsix file in your visual studio environment. https://github.com/npgsql/npgsql/releases/tag/v3.1.8 (NpgsqlDdexProvider)

    2. install Npgsql and EntityFramework6.Npgsql by Nuget Package Manager.

    3. Build your project. (For apply configuration of modified App.xaml by Nuget)

    4. You can use ADO.NET Entity Model Generation.

    Also, dotConnect not support Entity Model in Express version. It supported in only commercial version.

    But currently, Npgsql has immediately close bug in EDM. so, I finding solution.

提交回复
热议问题