Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

List of Figures

List of Tables

List of Listings

Foreword

Preface

Acknowledgments

About This Book

1. Discovering ORM with NHibernate

Chapter 1. Object/relational persistence in .NET

1.1. What is persistence?

1.1.1. Relational databases

1.1.2. Understanding SQL

1.1.3. Using SQL in .NET applications

1.1.4. Persistence in object-oriented applications

1.1.5. Persistence and the layered architecture

1.2. Approaches to persistence in .NET

1.2.1. Choice of persistence layer

1.2.2. Implementing the entities

1.2.3. Displaying entities in the user interface

1.2.4. Implementing CRUD operations

1.3. Why do we need NHibernate?

1.3.1. The paradigm mismatch

1.3.2. Units of work and conversations

1.3.3. Complex queries and the ADO.NET Entity Framework

1.4. Object/relational mapping

1.4.1. What is ORM?

1.4.2. Why ORM?

1.5. Summary

Chapter 2. Hello NHibernate!

2.1. ���Hello World��� with NHibernate

2.1.1. Installing NHibernate

2.1.2. Create a new Visual Studio project

2.1.3. Creating the Employee class

2.1.4. Setting up the database

2.1.5. Creating an Employee and saving to the database

2.1.6. Loading an Employee from the database

2.1.7. Creating a mapping file

2.1.8. Configuring your application

2.1.9. Updating an Employee

2.1.10. Running the program

2.2. Understanding the architecture

2.2.1. The core interfaces

List of Figures