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 4. Defining the Database Schema

In this chapter, we will learn how data produced by our applications can be stored in a relational database and how this data is organized inside the database.

In this chapter, we shall:

  • Learn what a table is
  • Learn how tables are related to each other
  • Discuss strategies to constrain what data can be stored
  • Show what possibilities we have to improve the performance of the data access
  • Create the OrderingSystem database

So let's get on with it...

What is a database schema?

Every realistic application produces and manipulates data. This data has to be stored somewhere where it can be protected from such things as power outage, or the fact that even today our computers do not have an infinite amount of memory, while ...

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