CHAPTER 1: GETTING STARTED WITH NHIBERNATE 3
Creating a Sample Project: The GuitarStore
Creating the GuitarStore Solution
Downloading and Installing NHibernate
Understanding the property-ref Attribute
Creating a Console Application for Testing
Configuring the GuitarStore WPF Program
Adding and Populating the DataGrid Control
Adding and Populating a ComboBox
Filtering the DataGrid Based on the ComboBox Selection
Configuring Logging Using log4net
Configuring Your Program to Use log4net
Validating a Serialized Configuration
Loading the Current Serialized Configuration
Using a Serialized Configuration
Implementing the Interceptor and Event Classes
Using the Database Round-Trip Counter
Working with Calculated Fields
Implementing CreateMultiQuery()
Implementing Aggregate Database Functions with GetNamedQuery
Working with DetachedNamedQuery
Understanding the Stateless Session
Implementing CreateMultiCriteria
Understanding DetachedCriteria
Configuring FetchMode in the Mapping Files
Configuring FetchMode Programmatically
Implementing Aggregate Database Functions
Understanding Restrictions and Expressions
Working with Data Transfer Objects
CHAPTER 4: USING LINQ TO NHIBERNATE
Working with LINQ to NHibernate
Understanding LINQ to NHibernate with Lambda Expressions
Understanding Aggregate Database Functions
CHAPTER 5: MANAGING STATE AND SAVING DATA
Inserting a Parent/Child into a Database
Understanding NHibernate Caching
Implementing the Second-Level Cache
Understanding Evict(), Merge(), and Persist()
CHAPTER 6: USING NHIBERNATE WITH AN ASP.NET MVC 3 APPLICATION
Adding an ASP.NET MVC 3 Project to the GuitarStore Solution
Adding References to the Binaries
Adding connectionString to the Web.config File
Configuring the ASP.NET MVC Program to Use a session-per-web-request
Configuring the View and Controller
3.145.179.225