Your contributors should be registered in container under
IConfigurationContributor interface. Then, the NHIntegration Facility
will do container.ResolveAllIConfigurationContributor() and will
call Process() on all of them.
As I suggested already, your contributors should be filtered by
factory
fyi - i'm removing the fluent nhibernate stuff and getting slightly
closer to having it working.
though atm the following block of code only creates the db for one of
the factories:
code
Configuration[] cfgs = _container.ResolveAllConfiguration();
foreach (Configuration cfg in
This works absolutely fine without fluent. Bit gutted that it's so
hard (impossible?) to use it with fnh, proper happy I got it working.
Thanks for all the help :)
-
e-wayne at isit.gd
t-07525 424 882
On 25 Oct 2009, at 12:06 PM, Valeriu Caraulean