什么是活动记录? [英] What is an active record?
本文介绍了什么是活动记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
究竟是一个积极的记录?我听到这个词在Ruby中后期和NHibernate使用。
What exactly is an active record? I hear this term used in Ruby post and nhibernate.
推荐答案
的 活动记录 的最初是一个的 设计模式 的这涉及到包装数据库表操作中的一类。
Active record was initially a design pattern which involved wrapping database table operations in a class.
在Rails的情况下,但是,它也是一个的的特定的软件组件 的它实现了在Ruby中的设计模式的的的的对象关系映射 的,及其相关的的的module 的
In a Rails context, however, it is also the proper name of a particular software component which implements the design pattern in Ruby for object-relational mapping, and the name of its associated module.
这篇关于什么是活动记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文