NHibernate

Fájlok
Dátum
2008-05-30T09:34:49Z
Folyóirat címe
Folyóirat ISSN
Kötet címe (évfolyam száma)
Kiadó
Absztrakt

This publication covers the description of NHibernate, an object-relational mapping framework for .NET platform. It describes how the tool was used to make the persistence layer of the back-end applications of Jyväskylä University of Applied Sciences - LASSO M2M Gateway project.

The thesis discusses briefly the project itself, its goals and basic requirements; how the system architecture was planned to solve the requirements the best; which factors were considered to choose NHibernate while designing the system. Different options are shown how the system can be configured to use the framework.

Several elements of the mapping documents, various relations between domain objects are also discussed. The publication covers a detailed description of the implementation of the project, preparing the implemented domain object classes and the persistence layer working together with NHibernate. The two different queries that NHibernate offers for developers are demonstrated and compared shortly.

Finally, this work discusses a simple example from the LASSO M2M Gateway application how the with NHibernate developed persistence layer can be used by other applications or layers of the same application; how easily work with the implemented libraries and how the transparent database access works in practise.

Leírás
Kulcsszavak
NHibernate, ORM, object-relational mapping, mapping file, HQL
Forrás