如何使用 .NET Core CLR 连接到 Postgresql 数据库
How to connect to a Postgresql database using .NET Core CLR
如何使用 .NET C# Core CLR 连接到 Postgresql 数据库?
我一直在寻找对 EF7 和 SQL 服务器的引用,但在 Postgresql 上找不到。
Npgsql 确实有一个分支 works with the CoreCLR, however it is currently in alpha/unstable mode since .Net Core isn't exactly stable itself at the moment. But in case you missed the announcement, like I did, Npgsql now works with Entity Framework 7. Information on the Entity Framework 7 provider can be found here。
如何使用 .NET C# Core CLR 连接到 Postgresql 数据库?
我一直在寻找对 EF7 和 SQL 服务器的引用,但在 Postgresql 上找不到。
Npgsql 确实有一个分支 works with the CoreCLR, however it is currently in alpha/unstable mode since .Net Core isn't exactly stable itself at the moment. But in case you missed the announcement, like I did, Npgsql now works with Entity Framework 7. Information on the Entity Framework 7 provider can be found here。