| To find a solution to the problems faced when trying to put the persistent object on Relational Database and reduce the negative impact to the application system's design and development coming from the impedance mismatch between the object model and the relational model. This paper analyzed the possibility of mutual mapping between the object model and the relational model and it's specific mapping theory. And basing on this, researched the object-relational mapping technology NHibernate of .NET platform, including NHibernate architecture and its using.In the process of researching, designed and implemented the code builder which is being futher packaging from NHibernate. Using this and persistence technology, design and realize the textbook management subsystem. Elaborated the this frame's architecture and the mutual relations between its multilayer. Given the realizing process of the system. Finally, as a conclusion, the paper analyzed the system's advantages and shortcomings. |