Reputation: 13898
My NHibernate configuration is set up using hibernate.cfg.xml, and now I am trying to implement Rhino.Seucrity, and for its configuration I need to retrieve a NHibernate.Cfg.Configuration instance. Now i was wondering if it is possible to retrieve the configuration instance that hibernate.cfg.xml produces?
Upvotes: 0
Views: 322
Reputation: 26940
Well, somewhere in your code you must be creating the Configuration object and building the ISessionFactory. Get it from there...
Upvotes: 1