I think SessionScope Activerecord can handle several factories for different types, but if you are not using this, I think it would be nice to go through in any type of class that is persistent:
ISession session = SessionScope.Current.GetSession( typeof ( YourClass ) );
jishi source share