摘要
对象-关系映射(Object Relational Mapping,ORM)是一种为了解决面向对象与关系数据库存在的互不匹配的现象的技术,它是完全从面向对象的角度设计程序。从JAVA中Hibernate移植过来的NHibernate是.NET平台的一个对象持久化工具,程序员通过它进行操作,可以有效提高开发效率。Linq to NHibernate有机的在NHibernate结合了Linq的查询功能,良好的把LINQ表达式转换为Criteria API。详细介绍了Linq to NHibernate的特性,分析了Linq to NHibernate实现与数据库无关的原理,并就如何使用Linq to NHibernate进行开发给出实例。
Object-relational Mapping Object(ORM) is a kind of solution to object-oriented and Relational database of each of the matched the phenomenon,it is completely from technical Angle of object-oriented design procedure.From JAVA Hibernate in NHibernate over transplantation is an object of.NET platform,programmers through its persistence tools,can effectively improve the operation efficiency.In NHibernate organic c.k.Linq Linq query NHibernate combines the functions,good to convert Linq expression troubles API.This paper introduces the characteristics of Linq to NHibernate,analyzed the principle of independent and database,and how to use Linq to NHibernate developed an example is given.
出处
《微型电脑应用》
2010年第12期44-46,2-3,共3页
Microcomputer Applications