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

Important NHibernate terminology


From this chapter onwards, we will be using some terms. These terms have special meanings when used in context of NHibernate or data access layers of applications. It would help to know what these terms mean and how we are going to use them in this chapter and in rest of the book. It is possible that some of these terms are already known to you.

POCO, Plain Old CLR Object. An alternate term for a class in C# which:

  • Does not inherit from classes defined in any framework

  • Does not implement interfaces defined in any framework

  • Does not use any attributes defined in any framework

We will just use the word class most of the time in this book but if I may have to use POCO in a few places, you will know what I mean.

  • Entity: A class having an identifier that identifies an instance at least in the entity graph maintained by NHibernate. This may be slightly confusing, but as we progress through the chapter you will know more about NHibernate to understand this clearly....