Execute store procedure

Topics: Customizing Orchard
Jul 10, 2011 at 11:09 AM

Hi,

 

I have store procuedure in databse. I want execute it using orchard module. Whats code to excute store procedure?

 

lakmal

Coordinator
Jul 11, 2011 at 8:52 PM

There is no difference with how you would do it in a regular ASP.NET MVC app, except that you need to opt out of the ambient transaction: http://orchard.codeplex.com/discussions/261404