| Object-oriented development method has been widely used in the most enterprise-level applications while RDBMS is now the predominant storage mechanism to persist data,which could lead to the mismatch between object orientation and the relational model. In the other hand, the object-oriented database is not mature. Therefore,it is so significant to find an approach to transfer object models to relational models and integration of object orientation aspects and relational database.ORM means object-relation mapping.It is an important object-oriented design technique. NHibernate is an object-relational mapping tool for .NET environment,which not only takes care of the mapping .NET class to tables of relational database,but also provides methods to operate data.In the paper, it describes simply the technology related to the subject,and then mainly describes O/R mapping and NHibernate technology based on .NET and explains how to develop system with the technology, designs and develops the Exam Administration System,which is a subsystem of the Educational Administration System.The Exam Administration System encapsulates the NHibernate as data persistence layer,improves the performance of NHibernate , describes the course of system implement. Finally, analyses the advantage and disadvantage of the system as the summary of the full paper. |