Working with NHibernate 3.0 (Paperback)

Benjamin Perkins

  • 出版商: Wrox Press
  • 出版日期: 2011-08-25
  • 售價: $1,050
  • 貴賓價: 9.5$998
  • 語言: 英文
  • 頁數: 230
  • 裝訂: Paperback
  • ISBN: 1118112571
  • ISBN-13: 9781118112571
  • 相關分類: Java 相關技術
  • 無法訂購

買這商品的人也買了...

商品描述

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.

Table of Contents

Chapter 1: Getting Started With Nhibernate 3 1

Chapter 2: Using Hql 53

Chapter 3: Using Icriteria 91

Chapter 4: Using Linq to Nhibernate 145

Chapter 5: Managing State and Saving Data 169

Chapter 6: Using Nhibernate with an Asp.Net Mvc 3 Application 203

 Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:    

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
  • May not copy the Wrox Blox file other than as allowed above
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley

If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

商品描述(中文翻譯)

本書以一個示例吉他店庫存程式為背景,提供使用 IQuery、ICriteria、QueryOver 和 LINQ to NHibernate API 的示例。讀者將逐步了解如何建立一個 Microsoft SQL Server 2008 資料庫,建立一個包含三個專案(WPF、Console Application 和 Class Library)的 Visual Studio 2010 解決方案。每個專案都使用 .NET 4.0 框架。然後,讀者將逐步了解配置和使用 NHibernate 3.2 中提供的許多功能的步驟。此外,還提供了有關插入父子關係、Session 管理、實體狀態(暫時、持久和分離)、刪除、緩存和批處理的進一步說明和示例。

最後一章使用 ASP.NET MVC 3 和 jqGrid 創建了一個使用 NHibernate 和每個網頁請求模型的網路程式,用於查看吉他庫存。

目錄
第1章:開始使用 Nhibernate 3
第2章:使用 Hql
第3章:使用 Icriteria
第4章:使用 Linq to Nhibernate
第5章:管理狀態和保存數據
第6章:在 Asp.Net Mvc 3 應用程序中使用 Nhibernate

Wiley Wrox Blox 的使用權限
從本網站購買的任何 Wrox Blox 都會附帶某些限制,以保護 Wiley 的產品版權。購買並下載本書後,您:
- 有權進行三次下載
- 有權備份該文件供自己使用
- 有權打印該 Wrox Blox 供自己使用
- 有權在 Wrox Blox 文件中進行註釋和評論供自己使用
- 不得將 Wrox Blox 借給、出售或轉讓給其他使用者
- 不得將 Wrox Blox 文件放在網絡或任何文件共享服務中供他人使用,除非是您自己或允許的人訪問
- 不得以除上述允許的方式之外的任何方式複製 Wrox Blox 文件
- 未經 Wiley 的事先許可,不得以任何方式複製、重新分發或修改 Wrox Blox 內容的任何部分

如果對這些限制有任何疑問,請聯繫客戶服務部門,電話號碼為 (877) 762-2974(美國東部時間,週一至週五上午8點至下午5點)。如果有任何與技術支援相關的問題,請聯繫我們,電話號碼為 800-762-2974(僅限美國)或 317-572-3994(國際),週一至週五上午8點至下午8點(美國東部時間)。