Yest there is a way to do in config file. Here is the one I use for castle
ActiveRecord but you can easily see how it can be done in nhibernate config
file.
Vijay
<add key="cache.provider_class"
value="NHibernate.Caches.Prevalence.PrevalenceCacheProvider,
NHibernate.Caches.Prevalence, Version=2.1.0.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4" />
<add key="cache.use_second_level_cache" value="true" />
<add key="prevalenceBase" value=".\CachedData" />
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.