I am a little confused. I see the NHibernateInitializer.Initialize class. however, I see the snippet of code below:
var mappingAssemblies = new[] {
typeof(MyDomainClass).Assembly.GetName().Name
};
var configuration = cache.LoadConfiguration(CONFIG_CACHE_KEY, null, mappingAssemblies);
With this snippet above, the section below will never run as configuration is never null (per my understanding):
f (configuration == null) {
configuration = new Configuration();
.....................
}
This section will not execute.
So, how exactly do the mapping conventions, db driver etc get initialized?
--
You received this message because you are subscribed to the Google Groups "S#arp Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharp-lite+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.