Hi folks, I have a question about how to configure a DLL using nhibernate. Of course the dll will not be the only object using nhibernate. Probably the application using this assembly will also use another database access via nhibernate.
So I ran into a specific problem. How should I tell my own DLL which configuration to take. Because the configuration of nhibernate is not the only task - the dll also needs access to an ActiveDirectory - and I didn't want to have a single configuration-file for each component of the DLL but a single one for the DLL I created my own configuration xml schema. I redirect the configuration-settings for nhibernate to the configuration-object so I can build up the ISessionFactory for the assembly. What do you think about this solution. Is there perhaps a better way? Thanks in advance. Regards, Maik P.S. If wanted, examples can be provided --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
