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...
Learning NHibernate 4
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
Free Chapter
Introduction to NHibernate
Let's Build a Simple Application
Let's Tell NHibernate About Our Database
NHibernate Warm-up
Let's Store Some Data into the Database
Let's Retrieve Some Data from the Database
Optimizing the Data Access Layer
Using NHibernate in a Real-world Application
Advanced Data Access Patterns
Working with Legacy Database
A Whirlwind Tour of Other NHibernate Features
Index
Customer Reviews