实体框架 PostgreSQL

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1211475/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:18:12  来源:igfitidea点击:

Entity framework PostgreSQL

entity-frameworkpostgresql

提问by Markus

Can someone tell me how can I get MS Entity Framework working with PostgreSQL.

有人可以告诉我如何让 MS Entity Framework 与 PostgreSQL 一起工作。

Also: How does Entity Framewok work with Mono? Could you please suggest other similar ORM tools which would run on Mono and what is your opinion about them?

另外:Entity Framewok 如何与 Mono 一起工作?您能否推荐其他类似的可以在 Mono 上运行的 ORM 工具,您对它们有什么看法?

采纳答案by ReinierDG

Entity framework also works with Npgsql - .Net Data Provider for Postgresql. A tutorial on how to set it up can be found here: http://www.npgsql.org/ef6/index.html

实体框架也适用于 Npgsql - Postgresql 的 .Net 数据提供程序。可以在此处找到有关如何设置它的教程:http: //www.npgsql.org/ef6/index.html

回答by Shiraz Bhaiji

Devart has a product that gives entity framework support for PostgreSQL. See:

Devart 有一个产品可以为 PostgreSQL 提供实体框架支持。看:

http://www.devart.com/dotconnect/postgresql/

http://www.devart.com/dotconnect/postgresql/

There is a provider for mono for postgreSQL. See:

有一个用于 postgreSQL 的单声道提供程序。看:

http://www.mono-project.com/PostgreSQL

http://www.mono-project.com/PostgreSQL