DataMapper 和 ORM 有什么区别?
DataMapper 和 ORM 有什么区别?我认为 DataMapper 是 ORM 的一种形式,不是吗?如果您能用自己的话提供 DataMapper 和 ORM 的定义,我将不胜感激。
感谢大家的帮助和支持。
What is the difference between the DataMapper and ORM? I thought that the DataMapper is a form of ORM, is it not? If you would provide the defenition of a DataMapper and ORM in your own words I would greatly appreciate it.
Thank you all for you help and support.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自EAA的P:Data Mapper是一层映射器,在对象和数据库之间移动数据,同时保持它们彼此独立以及映射器本身独立。
ORM(对象关系映射)是数据映射器的一种可能实现。 ORM 是一种技术/解决方案,为可操作的应用程序提供基于对象的数据视图
From P of EAA: Data Mapper is a layer of Mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself.
ORM (Object Relational Mapping) is an possible implementation of Data Mapper. ORM is a technique/solution that provides an object-based view of data to applications which it can manipulate