Skip to content

energister/NHibernateExample

Repository files navigation

NHibernateExample

This is example of how to work with database relations (objects associations) using NHibernate and NHibernate.Mapping.Attributes

There are 3 types of associations Nhibernate supports (with a few subtypes):

  • one-to-one (use PRIMARY KEY)
  • one-to-many (use FOREIGN KEY)
  • many-to-many

This example also demonstrates:

  • usage of lazy loading and eager objects fetching;
  • INSERT INTO ... SELECT in Hibernate Query Language (HQL)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages