You maybe have heard about Linq to SQL, you may have heard about the Entity Framework but there is an open source framework getting a lot more attention called NHibernate.  NHibernate is a port of the Java framework Hibernate and is an Object Relational Mapping (ORM) framework allowing you to persistence POCO (Plain Old CLR Objects) to and from a relational database such as SQL Server.  In this session, Ben will provide an introduction into the NHibernate 2.0 framework and how it can be used to query your database. Ben will cover how you can use the Hibernate Query Language (HQL) and the Criteria query API to return the required data from your database, before looking at real world issues around transactions and caching. Finally, Ben will demonstrate how you can use NHibernate with other database providers, such as SQLite and Oracle.

(no tags)
Presented by Ben Hall at SQLBits IV