Calling Stored Procedures from an External DataSource

Topics: General, Troubleshooting
Dec 1, 2011 at 7:49 AM

I'm quite new to Orchard and have a couple of questions regarding the following:

I'd like to access stored procedures from a database (SQL2008) external to Orchard to access some data I need for a module.

1. I am assuming this is possible in Orchard via NHibernate? (I've been looking at the framework/data section ... SessionLocator etc )

2. Can anyone point me to an example of where this has been done please?


Dec 9, 2011 at 2:06 AM

Sure, you can just do that, but there is no need to go through nHibernate. You will need to opt out of the Orchard transaction though.