摘要
基于软件工程原理的面向对象模型和基于数学原理的关系数据模型由于理论基础的不同导致了它们之间的"阻抗不匹配"。对象/关系映射技术填补了面向对象理论与关系数据库理论之间的鸿沟。本文介绍了持久层、映射等数据持久化的理论,并重点阐述了NHibernate对象/关系映射框架如何在.NET程序开发中的应用。
Object - oriented model is based on some rationales of software engineering, whereas relational database schema is based on mathematical rationales. The difference between the two foundations causes the imperfect fit between them. Object/Relational Mapping provides a bridge between them. This article introduce the Persistence Layer and Mapping. The application of NHibernate in . NET Framework are especially introduced.
出处
《仪器仪表用户》
2008年第3期60-61,共2页
Instrumentation
关键词
面向对象
关系数据库
对象/关系映射
持久层
object-oriented
relational database
object/relational mapping ( ORM )
persistence layer