目錄(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
推薦閱讀
- Leap Motion Development Essentials
- 三維圖形化C++趣味編程
- Blockly創意趣味編程
- PhpStorm Cookbook
- 微信小程序入門指南
- Extreme C
- Mastering Web Application Development with AngularJS
- 深度探索Go語言:對象模型與runtime的原理特性及應用
- 零基礎學Scratch 3.0編程
- 分布式數據庫原理、架構與實踐
- Unity 5.X從入門到精通
- Modernizing Legacy Applications in PHP
- STM8實戰
- Flutter之旅
- 程序員超強大腦
- Mastering Citrix? XenDesktop?
- Spark Cookbook
- 大學計算機基礎
- Hands-On Full Stack Development with Angular 5 and Firebase
- Elasticsearch源碼解析與優化實戰
- Spring MVC:Beginner's Guide(Second Edition)
- Mastering the Nmap Scripting Engine
- 如虎添翼!數據處理的SPSS和SAS EG實現(第2版)
- 網頁設計與制作:HTML5+CSS3+JavaScript(第5版·微課版)
- Learning Dart(Second Edition)
- C#從入門到精通(第4版)
- 強化學習:原理與Python實現
- Python深度強化學習:基于Chainer和OpenAI Gym
- RavenDB 2.x Beginner's Guide
- Power BI數據分析:報表設計和數據可視化應用大全