I have updated NHibernate Generics to support NHibernate 1.2 . This update is very minimal and was done to ensure that you can move code to the NHibernate 1.2 without breaking stuff.
Please consider NHibernate Generics library use as deprecated with NHibernate 1.2 and above.
NHibernate Generics (NG from now on) always had two purposes. The first was to give generics capabilities to NHibernate, so I wouldn't have to do casts all over the place. The second was to automatically handle assoications between objects using anonymous delegates and a sprinkle of magic.
I wrote this library nearly a year ago, and I have learned a lot since then, not the least of which, I learned what is the cost of magic. There are design assumption built into the library that are now proven to be false, specifically, when you want/don't want to force lazy load and working with the second level cache.
When I find myself scratching my head and trying to understand what is happening in the code I know that it is doing too much behind my back.
We no longer need external Generics support, since it is now (1.2) built into NHibernate. And I had a lot of fun and a number of serious issues with the automatica assoication handling, so I don't see much of a point in continuing that.
You can find the code here, just check out and compile, I am currently not planning to create a binary release.