Home Page Icon
Home Page
Table of Contents for
Cover Page
Close
Cover Page
by Benjamin Perkins
Working with NHibernate 3.0
Cover Page
Title Page
Copyright
ABOUT THE AUTHOR
CONTENTS
1: Getting Started with NHibernate 3
WHAT IS AN ORM?
CREATING A SAMPLE PROJECT: THE GUITARSTORE
CONFIGURING NHIBERNATE
CONFIGURING THE GUITARSTORE WPF PROGRAM
UNDERSTANDING LAZY LOADING
CONFIGURING LOGGING USING LOG4NET
SERIALIZING STARTUP
INTERCEPTORS AND EVENTS
SUMMARY
2: Using HQL
INTRODUCTION
WORKING WITH CREATEQUERY()
IMPLEMENTING CREATEMULTIQUERY()
UNDERSTANDING GETNAMEDQUERY()
UNDERSTANDING DETACHEDQUERY
WORKING WITH DETACHEDNAMEDQUERY
UNDERSTANDING FUTURES
SUMMARY
3: Using ICriteria
INTRODUCTION
WORKING WITH CREATECRITERIA
IMPLEMENTING CREATEMULTICRITERIA
UNDERSTANDING DETACHEDCRITERIA
WORKING WITH QUERYOVER
USING LAMBDA EXPRESSIONS
UNDERSTANDING FUTURES
USING FETCHMODE
IMPLEMENTING AGGREGATE DATABASE FUNCTIONS
UNDERSTANDING RESTRICTIONS AND EXPRESSIONS
WORKING WITH DATA TRANSFER OBJECTS
SUMMARY
4: Using LINQ to NHibernate
INTRODUCTION
WORKING WITH LINQ TO NHIBERNATE
IMPLEMENTING PAGING
UNDERSTANDING LINQ TO NHIBERNATE WITH LAMBDA EXPRESSIONS
UNDERSTANDING AGGREGATE DATABASE FUNCTIONS
SUMMARY
5: Managing State and Saving Data
INTRODUCTION
UNDERSTANDING CONCURRENCY
CREATING AN IUSERTYPE
INSERTING DATA
UNDERSTANDING NHIBERNATE CACHING
UNDERSTANDING EVICT(), MERGE(), AND PERSIST()
EXECUTING BATCH PROCESSES
SUMMARY
6: Using NHibernate with an ASP.NET MVC 3 Application
INSTALLING ASP.NET MVC 3
ADDING AN ASP.NET MVC 3 PROJECT TO THE GUITARSTORE SOLUTION
CONFIGURING NHIBERNATE
CONFIGURING THE ASP.NET MVC PROGRAM TO USE A SESSION-PER-WEB-REQUEST
CONFIGURING THE VIEW AND CONTROLLER
SUMMARY
INDEX
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset