PHP ORM类似于ADO.NET实体框架$ C C首先$功能框架?框架、类似于、实体、功能

2023-09-04 01:24:09 作者:情不知所起,一往而深

我是从.NET世界中回来到PHP的一些副作用项目。我是舒适与PHP作为一种语言,而是一种很可今天失去了许多PHP框架。早在天我做了PHP,我们只是写的SQL查询,所以我不知道今天什么是可能的PHP的ORM方面,因此这个问题。

I'm coming from .NET world back to PHP for some side projects. I am comfortable with PHP as a language, but am kind of lost in many PHP frameworks available today. Back in the days I did PHP we just wrote SQL queries, so I have no idea what is possible with PHP today in terms of ORM, therefore the question.

我习惯了创建使用ADO.NET实体框架code首先我的数据库模型,我喜欢这种方法,所以我要寻找一个PHP ORM框架具有类似的功能集。

I got used to creating my database models using ADO.NET Entity Framework Code First and I like this approach, so I am looking for a PHP ORM framework with similar set of features.

推荐答案

您应该查看当前的PHP ORM框架,你可能会发现,他们提供了ADO.Net框架没有的东西。

You should review current PHP ORM frameworks, you may find something that they offer that the ADO.Net framework does not.

What是最容易使用的ORM框架PHP?

这堆问题很围绕你的问题详细说明:?。好的PHP ORM图书馆

This stack question is very detailed around your question: Good PHP ORM Library?.

每个人都有自己的观点,一些比别人做得更好。

Everyone has an opinion, some better than others.