Hi,

We have model with 300 tables. When initially getting session from session 
factory taking bit time due compile mode and validate model.how can we improve 
this session getting. Please share any suggestions.

Currently code like below

  if (_sessionFactory == null)
            {
                NHibernate.Cfg.Configuration config 
=default(NHibernate.Cfg.Configuration);
              
                    config = new NHibernate.Cfg.Configuration();
 
                    config.Configure();
                    config.AddAssembly("DomainMOdel");
 
                _sessionFactory = config.BuildSessionFactory();
 
 
            }

Thanks,
Ayyappa 

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/4671431A-3E00-431E-A380-19C9EFF0997A%40gmail.com.

Reply via email to