Home  >  Article  >  Backend Development  >  entity 和orm有什么区别?

entity 和orm有什么区别?

WBOY
WBOYOriginal
2016-06-06 20:28:381035browse

如题,有点混淆,感觉都是把数据库表映射成一个类

回复内容:

如题,有点混淆,感觉都是把数据库表映射成一个类

entity字面意思是实体,其实可以理解为数据表的对象表示

orm是数据库操作的一种封装

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn