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 relational database is and how we can construct such a database which fits our needs to store data generated by our system.

We specifically covered what a database schema is and which elements it comprises. We then learned how we can create database tables to logically partition our data. In addition, we discussed what type of constraints we can use to further structure our data and relate our tables in the schema. Last but not least, we examined the generation of Primary Keys, as well as the usage of triggers and stored procedures in the context of NHibernate.

Now that we have discussed how to model our data into tables, we are ready to bridge the gap between the domain model and the database model ...

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