目錄(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
推薦閱讀
- 極簡算法史:從數學到機器的故事
- LabVIEW 2018 虛擬儀器程序設計
- Elasticsearch for Hadoop
- NGINX Cookbook
- 詳解MATLAB圖形繪制技術
- Python機器學習算法與應用
- Anaconda數據科學實戰
- scikit-learn Cookbook(Second Edition)
- H5+移動營銷設計寶典
- Python全棧開發:數據分析
- 生成藝術:Processing視覺創意入門
- AngularJS Web Application Development Cookbook
- Python程序設計
- 零基礎入門Python數據分析與機器學習
- MATLAB語言及編程實踐:生物數學模型應用
- C#網絡程序開發(第二版)
- 一個APP的誕生:從零開始設計你的手機應用
- jMonkeyEngine 3.0 Cookbook
- C語言入門很輕松(微課超值版)
- Python Django Web典型模塊開發實戰
- Applied Unsupervised Learning with Python
- 瘋狂Java講義(第2版)
- Python數據分析案例實戰(慕課版)
- Mastering QGIS(Second Edition)
- Web前端工程師修煉之道(原書第5版)
- Python程序設計
- 基于Kotlin的Spring Boot微服務實戰
- 完美講堂 Unity3D游戲特效設計實戰教程
- Python深度學習從原理到應用
- Python網絡爬蟲技術