Luxoft/BSSFramework

NHibernateSetupObject ignore custom NHibSessionEnvironment

NikitaEgorov opened this issue · 0 comments

    public INHibernateSetupObject SetEnvironment<TNHibSessionEnvironment>()
        where TNHibSessionEnvironment : NHibSessionEnvironment
    {
        this.SetEnvironmentAction = sc => sc.AddSingleton<NHibSessionEnvironment, ~~~NHibSessionEnvironment~~~>();

        return this;
    }