基于NHibernate的ORM映射机制研究  被引量:7

Research on ORM Mapping Mechanism Based on NHibernate

在线阅读下载全文

作  者:李斌勇[1] 李庆[1] 

机构地区:[1]西南交通大学CAD工程中心,四川成都610031

出  处:《计算机技术与发展》2009年第7期32-34,37,共4页Computer Technology and Development

基  金:国家863/CIMS高技术研究发展规划资助项目(2004AA414010)

摘  要:针对面向对象设计与关系数据库设计之间的"阻抗不匹配"问题,提出了运用ORM技术来解决对象-关系映射冲突。深入研究对象/关系的映射机制,引出了基于.NET的持久化框架NHibernate,探讨了基于NHibernate技术的ORM映射机制,实现了对象和关系数据库之间的高效映射,达到了将业务逻辑层与数据存储有效分离。提出的多种映射策略将极大地缩短开发周期、降低系统开发成本。Aimed at the "impedance mismatch" problem between the object - oriented design and the relational database design, proposes to solve the conflict of object - relational mapping by the technology of ORM. Studies deeply the O / R mapping mechanism, and describes the persistence framework---NHibemate which is based on . NET platform. Then researches on the ORM mapping mechanism based on the NHibernate and realizes the effective mapping of object and relational database, it achieves the effective separation of business logic layer and data storage. Presented a variety of mapping strategy will greatly shorten the software development cycle and reduce system development costs.

关 键 词:对象/关系映射 关系数据库 关系模型 NHIBERNATE 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象