O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have learned what a model is and how it helps us to better understand the domain for which we may want to implement an application. We have learned that entities and their relations among each other play a key role in a model. We discussed the notion of identity and the life cycle of an entity. Also, we have introduced the concept of value objects and pointed out its differences with the entity.

At no point did we have to reference NHibernate or make any compromises just to satisfy the needs of the NHibernate ORM framework. This is a very positive factor as it helps us to keep focused on the context and not introduce unnecessary complexity, which has nothing to do with the domain context at hand.

Last but not least, in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required