private ISession GetSessionFor(object entity)
        {
            string factoryKey = SessionFactoryAttribute.GetKeyFrom(entity);

            return(NHibernateSession.CurrentFor(factoryKey));
        }