EF / Postgres SQL数据库优先方法可能吗?

编程入门 行业动态 更新时间:2024-10-23 07:17:40
本文介绍了EF / Postgres SQL数据库优先方法可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

经过数小时的搜索,我有点失望。是否有人可以确认(或不可以)使用现有的Postgres SQL数据库使用EF数据库优先的方法(我的意思是使用VS EDMX degigner)?

After hours of searching, I am little bit disappointed. Can anybody confirm (or not) that using EF database-first approch (I mean, using the VS EDMX degigner) is possible with an existing Postgres SQL database?

某些要求:

  • 我想使用ngsql提供程序,因为它是免费的(但我不确定它是否以数据库优先的方式工作)
  • 我不想使用Devart Connect提供程序,因为它不是免费的,并且用于个人项目。我可以考虑使用快速版本,但我认为它不适用于设计模式。

欢呼声

推荐答案

是可以的。 Google快速搜索找到了演练,

Yes it is possible. A quick Google search found a walkthrough which did not suggest there were any special gotchas.

我会注意到我对代码优先的ORM框架表示怀疑,因为我认为它们忽略了数据库设计的关键方面,因此鼓励尚未为未来进行真正规划的数据库,因此我认为这在某种程度上是一种专用工具,但答案似乎是肯定的,它可行。

I will note I am quite sceptical of code first ORM frameworks as I think that they leave out key aspects of database design and thus encourage databases where no real planning for the future has occurred and so I think it is somewhat of a specialized tool, but the answer seems to be yes, it works.

更多推荐

EF / Postgres SQL数据库优先方法可能吗?

本文发布于:2023-08-05 21:30:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1308167.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据库   方法   EF   Postgres   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!