Book Image

Learning NHibernate 4

Book Image

Learning NHibernate 4

Overview of this book

Table of Contents (18 chapters)
Learning NHibernate 4
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


We have come to the end of an exhaustive chapter. NHibernate mapping is a vast topic. Especially if you are new to NHibernate or any ORM, you would find it challenging to remember and use all mappings effectively. What I have tried in this chapter is to present you with absolute minimum of NHibernate mappings that you need to know in order to hit the ground running. I hope that this chapter took the hardest part of the challenge away for you. You should now have a fair idea of how to map a simple domain model to an appropriate database schema. You may not feel very confident about NHibernate just yet and that is all but natural. This chapter and the next one are meant to introduce you to theoretical building blocks that are necessary before we get into interesting parts of NHibernate. In the next chapter, we would look at how to configure NHibernate which is another essential building block of NHibernate. As with mapping, NHibernate configuration is versatile and comes with lot of...