entity 和orm有什么区别?

WBOY
Release: 2016-06-06 20:28:38
Original
1082 people have browsed it

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

回复内容:

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template