目錄(105章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Introduction to NHibernate
- What is ORM?
- What is NHibernate?
- What is new in NHibernate 4.0?
- NHibernate for users of Entity Framework
- Is using ORM a bad idea?
- Building blocks of NHibernate
- Summary
- Chapter 2. Let's Build a Simple Application
- Explaining the approach used in learning NHibernate
- The problem statement
- The development setup
- The domain model
- Adding some code
- Summary
- Chapter 3. Let's Tell NHibernate About Our Database
- Important NHibernate terminology
- Mapping the prerequisites
- Different mechanisms to write the mappings
- XML mappings for the Employee class
- Identifier generation
- Mapping associations
- Mapping inheritance
- Mapping components
- Mapping by code
- Fluent mapping a.k.a. Fluent NHibernate
- Choosing the right mapping method
- Summary
- Chapter 4. NHibernate Warm-up
- Warming up NHibernate succinctly
- The NHibernate session architecture
- XML configuration
- Programmatic configuration
- Loquacious configuration
- Fluent configuration
- Configuration options
- Generating the database scripts from mappings
- Summary
- Chapter 5. Let's Store Some Data into the Database
- Entity states
- Transactions and unit of work
- Saving entities
- Transitive persistence using cascade styles
- Transitive persistence/cascading in action
- Bidirectional associations and ownership
- Order of operations
- Entity equality
- The architecture diagram
- Summary
- Chapter 6. Let's Retrieve Some Data from the Database
- Querying the workflow
- Different querying methods
- Joins
- Lazy loading
- Eager fetching
- Pagination and ordering of results
- Retrieving entities by identifiers
- Polymorphic queries
- Summary
- Chapter 7. Optimizing the Data Access Layer
- Baseline and optimize
- Organization of the chapter
- Batching
- Fetching strategies
- Avoiding the select N+1 problem
- Avoiding eager fetching
- Using extra-lazy for lazy collections
- Summary
- Chapter 8. Using NHibernate in a Real-world Application
- What kind of application are we building?
- Architectural principles we will follow
- Feature 1 – onboarding an employee
- Unit of work
- Feature 2 – updating the details of an employee
- Feature 3 – searching employees
- Summary
- Chapter 9. Advanced Data Access Patterns
- Problems with the repository pattern
- Specification pattern
- Query object pattern
- Summary
- Chapter 10. Working with Legacy Database
- Composite IDs
- Components
- Join-mapping to load data from multiple tables
- Working with database views
- Using subselect instead of views
- Working with stored procedures
- Using custom DTOs
- Summary
- Chapter 11. A Whirlwind Tour of Other NHibernate Features
- Concurrency control
- Event system
- Caching
- Stateless sessions
- User-defined types
- Summary
- Index 更新時間:2021-07-16 13:09:02
推薦閱讀
- Java逍遙游記
- Software Defined Networking with OpenFlow
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- Java Web開發之道
- JavaScript+jQuery開發實戰
- C語言程序設計實踐教程
- Internet of Things with Intel Galileo
- Drupal 8 Module Development
- Python編程實戰
- Java實戰(第2版)
- Java網絡編程實戰
- 深度學習原理與PyTorch實戰(第2版)
- Natural Language Processing with Python Quick Start Guide
- JSP程序設計與案例實戰(慕課版)
- Test-Driven iOS Development with Swift
- 體驗之道:從需求到實踐的用戶體驗實戰
- C/C++代碼調試的藝術
- 青少年Python趣味編程
- Developing RESTful Web Services with Jersey 2.0
- Instant AutoIt Scripting
- IBM Cognos TM1 Cookbook
- Java語言程序設計與實現(微課版)
- Head First Go語言程序設計
- Unity 游戲案例開發大全
- Learning Embedded Android N Programming
- Java 8函數式編程
- NGINX High Performance
- Java程序設計案例教程(第三版)
- JavaScript權威指南(原書第6版)
- MATLAB R2015a小波分析(精通MATLAB)