- Index 更新時間:2021-07-16 13:09:02
- Summary
- User-defined types
- Stateless sessions
- Caching
- Event system
- Concurrency control
- Chapter 11. A Whirlwind Tour of Other NHibernate Features
- Summary
- Using custom DTOs
- Working with stored procedures
- Using subselect instead of views
- Working with database views
- Join-mapping to load data from multiple tables
- Components
- Composite IDs
- Chapter 10. Working with Legacy Database
- Summary
- Query object pattern
- Specification pattern
- Problems with the repository pattern
- Chapter 9. Advanced Data Access Patterns
- Summary
- Feature 3 – searching employees
- Feature 2 – updating the details of an employee
- Unit of work
- Feature 1 – onboarding an employee
- Architectural principles we will follow
- What kind of application are we building?
- Chapter 8. Using NHibernate in a Real-world Application
- Summary
- Using extra-lazy for lazy collections
- Avoiding eager fetching
- Avoiding the select N+1 problem
- Fetching strategies
- Batching
- Organization of the chapter
- Baseline and optimize
- Chapter 7. Optimizing the Data Access Layer
- Summary
- Polymorphic queries
- Retrieving entities by identifiers
- Pagination and ordering of results
- Eager fetching
- Lazy loading
- Joins
- Different querying methods
- Querying the workflow
- Chapter 6. Let's Retrieve Some Data from the Database
- Summary
- The architecture diagram
- Entity equality
- Order of operations
- Bidirectional associations and ownership
- Transitive persistence/cascading in action
- Transitive persistence using cascade styles
- Saving entities
- Transactions and unit of work
- Entity states
- Chapter 5. Let's Store Some Data into the Database
- Summary
- Generating the database scripts from mappings
- Configuration options
- Fluent configuration
- Loquacious configuration
- Programmatic configuration
- XML configuration
- The NHibernate session architecture
- Warming up NHibernate succinctly
- Chapter 4. NHibernate Warm-up
- Summary
- Choosing the right mapping method
- Fluent mapping a.k.a. Fluent NHibernate
- Mapping by code
- Mapping components
- Mapping inheritance
- Mapping associations
- Identifier generation
- XML mappings for the Employee class
- Different mechanisms to write the mappings
- Mapping the prerequisites
- Important NHibernate terminology
- Chapter 3. Let's Tell NHibernate About Our Database
- Summary
- Adding some code
- The domain model
- The development setup
- The problem statement
- Explaining the approach used in learning NHibernate
- Chapter 2. Let's Build a Simple Application
- Summary
- Building blocks of NHibernate
- Is using ORM a bad idea?
- NHibernate for users of Entity Framework
- What is new in NHibernate 4.0?
- What is NHibernate?
- What is ORM?
- Chapter 1. Introduction to NHibernate
- Preface
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權信息
- 封面
- 封面
- 版權信息
- 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