- ORM
WIKI中的解释。画重点
Object-relational mapping (ORM, O/RM, and O/R mapping tool) in computer science is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to construct their own ORM tools.
ORM:对象关系映射
作用:在不同的系统之间做数据转换。
手段:通过面向对象的语言
实际举例:数据库是一套系统,应用是一套系统。两者之间数据的转换使用面向对象的语言。
再举个例子:数据库里面保存 行记录: id 1,苹果,红色 用图形语言(图形应该也是一种语言,不用嘴说,但每个人都能懂)表现为