Hi
I would like to fluently configure the NHibernateIntegration facility,
but can't find a way to tell the facility where to find my
hibernate.cfg.xml file.
Any ideas?
public static IWindsorContainer RegisterComponents(IWindsorContainer
container)
{
container
.AddFacility<LoggingFacility>(x => new LoggingFacility
(LoggerImplementation.Log4net, "log4net.config"))
.AddFacility<NHibernateFacility>()
.Register(Component.For<IMyInterface>
().ImplementedBy<MyClass>());
return container;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---