Code from "NHibernate 3.0 for Beginners"