private void ConfigureLegacySessionFactory()
        {
            SessionFactoryHelper sessionFactoryHelper = this.Resolve <SessionFactoryHelper>();

            sessionFactoryHelper.ConfigureLegacySessionFactory();
        }