Working with NHibernate 3.0
- 2h 47m
- Benjamin Perkins
- John Wiley & Sons (US)
- 2011
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 instructions and examples exist for the insertion of parent/child relationships, Session management, entity states (transient, persistent and detached), deletion, caching, and batching.
The last chapter utilizes ASP.NET MVC 3 and jqGrid for the creation of an internet program for viewing the guitar inventory using NHibernate and the session per web request model.
About the Author
Benjamin Delcamp Perkins is currently employed at ISOware, GmbH in Munich, Germany and has been working professionally in the IT industry for more than 16 years. He started computer programming with QBasic at the age of 11 on an Atari 1200XL desktop computer. He takes pleasure in the challenges trouble shooting technical issues offer and values the merit of a well written program. After successfully completing his military service and serving in the Gulf War of 1990, he received a Bachelor of Business Administration in Management Information Systems from Texas A&M University.
His roles in the IT industry have spanned the entire spectrum from programmer, to system architect, technical support engineer, to team leader and management. While employed at Hewlett-Packard, he received numerous awards, degrees, and certifications. He has a passion for technology and customer service. Benjamin enjoys sharing his C# and other programming experiences and has created many free training videos which are available on YouTube. He also has an active blog found at: thebestcsharpprogrammerintheworld.com.
In this Book
-
Getting Started with NHibernate 3
-
Using HQL
-
Using ICriteria
-
Using LINQ to NHibernate
-
Managing State and Saving Data
-
Using NHibernate with an ASP.NET MVC 3 Application