My Account Log in

1 option

Working with NHibernate 3.0 / Benjamin Perkins.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Perkins, Benjamin.
Language:
English
Subjects (All):
Hibernate (Electronic resource).
Object-oriented programming (Computer science).
Physical Description:
1 online resource (231 p.)
Edition:
1st edition
Place of Publication:
Indianapolis, IN : Wiley, c2011.
Language Note:
English
System Details:
text file
Summary:
This book provides examples using the IQuery, ICriteria, QueryOver, and LINQ to NHibernate API's within the context of an example Guitar Store inventory program. The reader is walked through the creation of a Microsoft SQL Server 2008 database, the creation of a Visual Studio 2010 solution consisting of 3 projects (a Window Presentation Foundation (WPF), a Console Application, and a Class Library). Each one utilizes the .NET 4.0 framework. Then the reader is walked through the steps required to configure and use the many features available contained within NHibernate 3.2. Further instructio
Contents:
Working with NHibernate 3.0; Contents; Chapter 1: Getting Started with NHibernate 3; What Is an ORM?; Creating a Sample Project: The GuitarStore; Project Requirements; Creating the GuitarStore Solution; Creating the Database; Configuring NHibernate; Downloading and Installing NHibernate; Creating the Class Files; Creating the Mapping Files; Mapping by Code; Understanding the property-ref Attribute; Configuration Techniques; Creating a Console Application for Testing; Configuring the GuitarStore WPF Program; Initializing NHibernate; Adding and Populating the DataGrid Control
Adding and Populating a ComboBoxFiltering the DataGrid Based on the ComboBox Selection; Understanding Lazy Loading; Configuring Logging Using log4net; The Appender; The Logger; Configuring Your Program to Use log4net; Serializing Startup; Serializing the Configuration; Validating a Serialized Configuration; Loading the Current Serialized Configuration; Using a Serialized Configuration; Timing the Startup; Interceptors and Events; Interceptors; Events; Implementing the Interceptor and Event Classes; Summary; Chapter 2: Using HQL; Introduction; Working with CreateQuery(); Implementing Paging
Using the Database Round-Trip CounterWorking with Calculated Fields; Implementing CreateMultiQuery(); Understanding GetNamedQuery(); Implementing Aggregate Database Functions with GetNamedQuery; Understanding DetachedQuery; Working with DetachedNamedQuery; Understanding Futures; Summary; Chapter 3: Using ICriteria; Introduction; Understanding the Stateless Session; Working with CreateCriteria; Implementing Paging; Implementing CreateMultiCriteria; Understanding DetachedCriteria; Working with QueryOver; Using Lambda Expressions; Understanding Futures; Using FetchMode
Configuring FetchMode in the Mapping FilesConfiguring FetchMode Programmatically; Implementing Aggregate Database Functions; Understanding Restrictions and Expressions; Working with Data Transfer Objects; Summary; Chapter 4: Using LING to NHibernate; Introduction; Working with LINQ to NHibernate; Implementing Paging; Understanding LINQ to NHibernate with Lambda Expressions; Understanding Aggregate Database Functions; Summary; Chapter 5: Managing State and Saving Data; Introduction; Understanding Concurrency; Creating an IUserType; Inserting Data; Inserting a Parent/Child into a Database
Understanding NHibernate CachingUsing the First-Level Cache; Implementing the Second-Level Cache; Understanding Evict(), Merge(), and Persist(); Using Evict(); Using Merge(); Using Persist(); Executing Batch Processes; Summary; Chapter 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; 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
Summary
Notes:
Includes index.
ISBN:
9786613814203
9781282253551
1282253557
9781118104606
1118104609
OCLC:
760986133

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account