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

Chapter 3. Creating a Model

So far we have learned what NHibernate is and how we can implement a simple solution based on the NHibernate ORM framework. To be able to create a solution for a business domain we might not be subject matter experts of, we need to first get a deeper insight and understanding of the domain context at hand. This is where the model comes into play.

In this chapter, we shall define:

  • What a model is
  • What the key elements of a model are
  • How we create a model

Now, let's start with some background.

What is a model

When we get the task of writing an application for a customer, we have to write a piece of software which helps our customer to automate certain aspects of their business. To be able to do this, we need to get an understanding ...

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