Index
A
- aggregates
- App.config
- used, for configuring NHibernate / Getting ready, How to do it…
- Appenders / How it works...
- application startup time
- reducing / Reducing application startup time, How to do it…, How it works…
- ASP.NET
- session action filter, creating / Creating a session ASP.NET MVC action filter, How to do it…, How it works…
- transaction action filter, creating / Creating a transaction ASP.NET MVC action filter, How to do it…, How it works…
- Aspect Oriented Programming (AOP) / How it works…
- attributes
- used, for property validation / Property validation with attributes, How to do it…, How it works…, There's more…
- audit-event listener
- automatic dirty checking / How it works…
B
- base entity class
- setting up / Setting up a base entity class, How it works…
- batcher / NHibernate architecture
- bidirectional one-to-many class relationships
- bulk data changes
- making, with Hibernate Query Language (HQL) / Using HQL for bulk data changes, How to do it…, How it works…
- bulk inserts / Bulk inserts
C
- C# specification
- reference / How it works…
- calculated properties
- child collections
- eager loading / Eager loading child collections, How to do it..., How it works...
- limiting functions, rendering / Problem 1 – limiting the result set doesn't work
- queried class' properties, eager loading / Problem 2 – only the queried class' properties can be eager loaded
- multiple collections eager loading, avoiding / Problem 3 – eager loading multiple collections should be avoided
- criteria / Criteria
- QueryOver / QueryOver
- class
- mapping, with XML / Mapping a class with XML, Getting ready, How to do it…, How it works…, There's more…
- XML mappings / What happens to these mappings?
- class components
- creating / Creating class components, How to do it…, How it works…
- class hierarchy mappings
- creating / Creating class hierarchy mappings, How to do it…, How it works…, There's more…
- table per class / Table per class
- table per concrete class / Table per concrete class
- collections
- about / Collections
- bags / Bags
- lists / Lists
- sets / Sets
- map / Map
- filtering / Filtering collections, How to do it…, How it works…, There's more…
- collections of elements and components
- common service locator
- reference / Getting ready
- concurrency
- handling / Handling versioning and concurrency, How to do it…, How it works…, There's more…
- handling, with session.Lock / Handle concurrency using session.Lock, How it works…
- none mode / None
- read mode / Read
- upgrade mode / Upgrade
- UpgradeNoWait mode / UpgradeNoWait
- connection provider / NHibernate architecture
- context info, Microsoft SQL
- convention mapping, components
- model inspector / How it works…
- model mapper / How it works…
- Criteria
- used, for eager loading / Eager loading with Criteria, How it works…
- Criteria Queries
- using / Using CriteriaQueries, How to do it…, How it works…
- custom dialect functions
- custom functions
- using, in LINQ / How to do it…, How it works…
D
- data
- preloading, with SQLite / Preloading data with SQLite, How to do it..., How it works...
- data access layer
- setting up, for transaction auto-wrapping / Transaction auto-wrapping for the data access layer, How it works…
- named queries, using / Using named queries in the data access layer, Getting ready, How to do it…, How it works…
- ICriteria, using / Using ICriteria in the data access layer, How to do it…, How it works…
- paged queries, using / Using paged queries in the data access layer, How to do it…, How it works…
- LINQ specifications, using / Using LINQ specifications in the data access layer, How it works…
- Data Access Objects (DAO) / Introduction
- database
- generating / Generating the database, How it works...
- scripting / Scripting the database, See also
- updating / Updating the database, How to do it...
- entities, saving to / Save entities to the database, How to do it…, Save
- sharding, for performance / Sharding databases for performance, How to do it..., How it works...
- dependency injection
- using, with entities / Using dependency injection with entities, How to do it…, How it works…
- hash value / Bland passwords need salt
- Detached Queries
- using / Using detached queries, How it works…
- reference / There's more…
- dialect / NHibernate architecture
- dictionaries
- using, as entities / Using dictionaries as entities, How to do it..., How it works…
- driver / NHibernate architecture
- dynamic components
- dynamic connection strings
E
- eager loading
- Criteria, using / How to do it…, How it works…
- QueryOver, using / Eager loading with QueryOver, How to do it…, How it works…
- Hibernate Query Language (HQL), using / Eager loading with HQL, How to do it…, How it works…
- SQL, using / Eager loading with SQL, How it works…
- eager loading
- LINQ, using / Eager loading with LINQ, How it works…, There's more…
- encrypted string type
- entities
- saving, to database / Save entities to the database, How to do it…, Save
- updating / Update
- SaveOrUpdate / SaveOrUpdate
- persisting / Persist
- different flush modes, using / Using different flush modes
- dictionaries, using as / Using dictionaries as entities, How to do it..., How it works…
- partially dynamic / Partially dynamic
- enumerations
- mapping / Mapping enumerations, How to do it…, How it works…
- unnecessary updates / Unnecessary updates
- Envers
- used, for auditing data / Auditing data with Envers, How to do it…, How it works…
- Equals
- reference link / There's more…
- extra lazy collections
- using / Extra lazy collections, How to do it…
- working / How it works…, There's more…
F
- Fluent NHibernate
- used, for configuring NHibernate / Configuring NHibernate with Fluent NHibernate, How it works…, See also
- Fluent NHibernate persistence testing
- using / Using Fluent NHibernate persistence testing, How to do it..., How it works...
- reference / How it works...
- flush modes
- using / Using different flush modes
- commit / Commit
- auto / Auto
- always / Always
- never / Never
- full-text search
- setting up / Setting up full-text searches, How to do it…, How it works…
- Futures
- using / Using Futures, How it works..., There's more...
G
- GetHashCode
- reference link / There's more…
- Ghostbusters test
- Glimpse
- used, for profiling NHibernate / Profiling NHibernate with Glimpse, How to do it...
- reference / How does it work...
H
- hbm2ddl (hibernate mapping to data definition language) / How it works...
- hibernate.cfg.xml
- used, for configuring NHibernate / Configuring NHibernate with hibernate.cfg.xml, How it works..., There's more...
- Hibernate Query Language (HQL) / There's more…
- using / Using the Hibernate Query Language, How to do it…, How it works…, There's more…
- used, for eager loading / Eager loading with HQL, How it works…
- used, for making bulk data changes / Using HQL for bulk data changes, How to do it…, How it works…
I
- ICriteria
- using, in data access layer / Using ICriteria in the data access layer, How to do it…, How it works…
- ID generator
- selecting / ID generator selection
- immutable entities
- about / Immutable entities
- using / How to do it…
- working / How it works…
- installation
- NHibernate / Installing NHibernate, How to do it...
- Intermediate Language (IL) / How it works…
J
- joins
- mapping / Mapping joins, How to do it…, How it works…
L
- lazy properties
- using / Using lazy properties, How to do it…, How it works…
- LINQ
- using, to NHibernate / Using LINQ to NHibernate, How to do it…, How it works…
- used, for eager loading / Eager loading with LINQ, How it works…, There's more…
- result set, limiting / Limiting the result set doesn't work
- eager loading multiple collections, avoiding / Eager loading multiple collections should be avoided
- batching, used as alternative solution / Use batching as an alternative solution
- custom functions, using / Using custom functions in LINQ, How it works…
- LINQ provider
- extending / Extending the LINQ provider, How to do it…, How it works…
- LINQ specifications
- using, in data access layer / Using LINQ specifications in the data access layer, How to do it…, How it works…
- reference / How it works…
- composition / Specification composition
- LinqSpecs library
- reference / Getting ready
- log4net
- reference / How it works…
- Loggers / How it works...
- logging mechanism, NHibernate
- configuring / Configuring NHibernate logging, How it works..., There's more...
- logger, used for troubleshooting NHibernate / Using logger to troubleshoot NHibernate
- log providers, using / Using other log providers, See also
M
- many-to-many relationship
- mapping
- by code / Mapping by code, How to do it…, How it works…, There's more…
- by convention / Mapping by convention, How to do it…, How it works…
- creating / Creating mappings fluently, How to do it…, How it works…
- Microsoft patterns
- reference / Getting ready, Getting ready
- Model View Presenter (MVP)
- about / Setting up session-per-presenter
- reference / Setting up session-per-presenter
- Model View View Model (MVVM)
- about / Setting up session-per-presenter
- reference / Setting up session-per-presenter
- money type
- creating / Creating a money type, How to do it…, How it works…
- MultiCriteria
- using / Using MultiCriteria, How to do it…, How it works…
- MultiQuery
- using / Using MultiQuery, How to do it…, How it works…
N
- named queries
- using, in data access layer / Using named queries in the data access layer, How to do it…, How it works…
- Named Queries
- using / Using named queries, How to do it…, How it works…
- named SQL queries / Named SQL queries, There's more…
- Native SQL
- using / Using native SQL, How to do it…, How it works…
- natural key / Surrogate keys and natural IDs
- NH4CookbookHelpers library / Introduction, Getting ready
- NHibernate
- homepage link / Introduction
- releases, reference link / Introduction
- installing / Installing NHibernate, How to do it...
- configuring, with hibernate.cfg.xml / Configuring NHibernate with hibernate.cfg.xml, How it works..., There's more...
- architecture / NHibernate architecture
- properties / NHibernate properties
- dialects / Dialects and drivers
- drivers / Dialects and drivers
- configuring, with App.config / Configuring NHibernate with App.config or Web.config, How to do it…, How it works…, See also
- configuring, with Web.config / Configuring NHibernate with App.config or Web.config, How to do it…, There's more…
- configuring, with code / Configuring NHibernate with code, How it works…
- configuring, with Fluent NHibernate / Configuring NHibernate with Fluent NHibernate, How to do it…
- logging mechanism, configuring / Configuring NHibernate logging, How to do it..., How it works..., There's more...
- troubleshooting, with logger / Using logger to troubleshoot NHibernate
- using, with transaction scope / Using NHibernate with transaction scope, How to do it…, How it works…
- LINQ, using / Using LINQ to NHibernate, How to do it…, How it works…
- reference / There's more…
- profiling, with Glimpse / Profiling NHibernate with Glimpse, How to do it...
- NHibernate.Logging
- download link / Using other log providers
- NHibernate AddIns project
- reference / There's more…, Getting ready, Getting ready
- NHibernate Contribution projects
- reference / Introduction
- NHibernate Envers
- reference / There's more…
- NHibernate Profiler
- using / Using NHibernate Profiler, How to do it..., How it works..., There's more...
- download link / Getting ready
- common misuses / There's more...
- NHibernate properties
- connection.provider / NHibernate properties
- connection.driver_class / NHibernate properties
- connection.connection_string / NHibernate properties
- connection.connection_string_name / NHibernate properties
- connection.isolation / NHibernate properties
- Dialect / NHibernate properties
- show_sql / NHibernate properties
- current_session_context_class / NHibernate properties
- query.substitutions / NHibernate properties
- sql_exception_converter / NHibernate properties
- prepare_sql / NHibernate properties
- command_timeout / NHibernate properties
- adonet.batch_size / NHibernate properties
- generate_statistics / NHibernate properties
- format_sql / NHibernate properties
- reference link / NHibernate properties
- NHibernate repository
- setting up / Setting up an NHibernate repository, How to do it…, How it works…
- reference / How it works…
- NHibernate Schema Tool
- using / Using NHibernate schema tool, How to do it..., See also
- download link / Getting ready
- NHibernate source code
- reference link / Introduction
- NHibernate Spatial
- using / Using NHibernate Spatial, Getting ready, How to do it…, How it works…
- geography / Geography or geometry?
- geometry / Geography or geometry?
- SRID / What's this SRID?
- data types / Spatial data types
- nhusers Google group
- reference link / Introduction
- NHV configuration, App.config
- configuration settings / How it works…
- Ninject project
- reference / Getting ready, Getting ready
- NMoneys
- reference / There's more…
- non-primary keys
- relations, mapping to / Mapping relations to non-primary keys, How to do it…, How it works…, There's more…
- NST
- command-line options / There's more...
- NUnit
- download link / Getting ready
O
- object-relational mapper (ORM) / Introduction
- Object Relational Mapper (ORM) / How it works…
- one-to-many relationship
- mapping / Mapping a one-to-many relationship, How to do it…, How it works…
- lazy loading collections / Lazy loading collections
- lazy loading proxies / Lazy loading proxies
- collections / Collections
- Online Transaction Processing (OLTP) / Setting up full-text searches
- optimistic concurrency / How it works…
P
- paged queries
- using, in data access layer / How to do it…, How it works…
- pessimistic concurrency / How it works…
- POID generators
- hilo / ID generator selection
- guid / ID generator selection
- guid.comb / ID generator selection
- guid.native / ID generator selection
- uuid.hex / ID generator selection
- uuid.string / ID generator selection
- Counter / ID generator selection
- Increment / ID generator selection
- Seqhilo / ID generator selection
- Foreign / ID generator selection
- property validation
- attributes, using / Property validation with attributes, How to do it…, How it works…, There's more…
Q
- query entities, by ID
- about / Query entities by ID, How to do it…, How it works…
- Session.Get / Session.Get
- Session.Load / Session.Load
- session cache / The session cache jumps in
- QueryOver
- using / Using QueryOver, How to do it…, How it works…
- used, for eager loading / Eager loading with QueryOver, How it works…
- QueryOver projections
R
- read-only entities
- using / Using read-only entities, How it works...
- session, setting as read-only / Setting the session to be read-only
- query to load entities, setting as read-only / Setting a query to load entities as read-only
- specific entity, setting as read-only / Making a specific entity read-only
- Relational Database Management System (RDBMS) / How it works...
- relations
- mapping, to non-primary keys / Mapping relations to non-primary keys, How to do it…, How it works…, There's more…
- result transformers
- using / Using result transformers, How to do it…, How it works…, There's more…
- DistinctRootEntity / DistinctRootEntity
- AliasToEntityMap / AliasToEntityMap
- PassThrough / PassThrough
- RootEntity / RootEntity
- ToList / ToList
- AliasToBean / AliasToBean
- AliasToBeanConstructor / AliasToBeanConstructor
- creating / Creating your own transformer
S
- <subselect> mapping
- using / Mapping <subselect>, How to do it…, How it works…
- second level cache
- using / Use the second-level cache, How to do it..., How it works...
- entity cache / Entity cache
- query cache / Query cache
- timestamp cache, updating / Update timestamp cache
- using, rules / The rules
- configuring, with code / Configuring the second-level cache with code, How to do it..., How it works..., There's more…
- serializable values
- session / NHibernate architecture
- session.Lock
- used, for handling concurrency / Handle concurrency using session.Lock, How it works…
- session.Merge
- using / Using session.Merge, How to do it…, How it works…
- session.Refresh
- using / Using session.Refresh, How it works…, There's more…
- session action filter
- creating, for ASP.NET / Creating a session ASP.NET MVC action filter, How to do it…, How it works…
- Web API / What about Web API?
- view models, using / View models
- session per presenter
- setting up / Setting up session-per-presenter, How to do it…, How it works…, There's More…
- session per web request
- setting up / Setting up session-per-web request, Getting ready
- companion library, using / Option 1: Using the companion library
- manual setup / Option 2: Manual setup, How it works…, There's more…
- soft-delete pattern
- implementing / Implementing a soft-delete pattern, How to do it…, How it works…
- Spatial Reference Identifier (SRID) / How it works…, What's this SRID?
- SQL
- used, for eager loading / Eager loading with SQL, How to do it…
- SQLite
- reference / How to do it...
- used, for preloading data / Preloading data with SQLite, How to do it..., How it works...
- SQLite in-memory database
- used, for fast testing / Fast testing with the SQLite in-memory database, How to do it..., How it works..., There's more...
- SQL Spatial tools
- download link / Getting ready
- stamping entities
- stateless sessions
- surrogate key / Surrogate keys and natural IDs
T
- transaction action filter
- creating, for ASP.NET / Creating a transaction ASP.NET MVC action filter, How to do it…, How it works…
- transactional write-behind / NHibernate architecture
- transaction auto-wrapping
- data access layer, setting up / Transaction auto-wrapping for the data access layer, How it works…
- trigger-based auditing
- generating / Generating trigger-based auditing, How it works…
U
- United States Census
- website link / Getting ready
- Unit of Work pattern
- reference link / NHibernate architecture
V
- validator classes
- creating / Creating validator classes, How to do it…, There's more…
- versioning
W
- Web.config
- used, for configuring NHibernate / Configuring NHibernate with App.config or Web.config, How to do it…, How it works…
- well-known instance type
X
- XML
- used, for mapping class / Mapping a class with XML, Getting ready, How to do it…, How it works…, There's more…