Mapping Relationships using Fluent nHibernate

added by mattdlong
2/8/2010 4:29:36 PM


In my last post I went over the basics of mapping properties on a POCO object to fields on a database table. If you haven’t already check it out here. In this post I’m going to focus on mapping relationships, that is, what if we wanted our objects to contain concrete references to the objects with which they have relationships, rather than just foreign key properties.