This project is read-only.

Secondary DB connection from a module

Topics: Writing modules
Apr 16, 2015 at 8:05 PM
Hello everyone,
I am new to orchard cms and I would like to ask a question about modules. Is it possible to connect to another database from inside a module ?

Best regards and
thank you in advance,
Apr 20, 2015 at 1:17 PM
It's been a while but, I've done it by adding a connection string to the root Orchard web.config and If I remember correctly that was about all that was required. I had to search around quite a while to find the way top do it, but I think in the end it was that simple.

Hope this helps