Is there a way to "Lazy Configure" the mappings from various domains?
Can I configure the mappings from one domain, then as needed, Add more mappings from another domain without rebuilding the whole session factory again?
If so, pointing me to an example would be very helpful.
Thanks.
Support Staff 2 Posted by Paul Batum on 27 Jun, 2010 07:05 AM
To the best of my knowledge, you can't add additional mappings to a session
factory that has already been built. But I'm not an NHibernate expert and
really this is a question about NHibernate's capabilities rather than Fluent
NHibernate, so I suggest you try asking on the nhibernate
users<http://groups.google.com/group/nhusers/> mailing
list.
3 Posted by mirapalheta on 27 Jun, 2010 05:38 PM
I use to rebuild my session factory and replace the old one instance so the
current sessions continue with the old configuration and the new ones came
with the new configuration.
Regards,
Daniel Mirapalheta
2010/6/27 Paul Batum <
***@tenderapp.com<tender%***@tenderapp.com>
>
4 Posted by Bill on 11 Aug, 2010 05:23 PM
That is a good idea Daniel. Thanks guys, very helpful!