This project is read-only.

Database connection

Topics: Customizing Orchard, General, Writing modules, Writing themes
Aug 27, 2012 at 7:07 AM


I went through the CMS architecture, but i could not find how data's are getting insert and updating. I want use my own stored procedure for my requirement. Please help me how to do CRUD operation by using stored procedures.

Thank you,


Aug 27, 2012 at 7:14 AM

nHibernate is what handles persistence. If you want to use custom SQL or stored procs, you need to grab the nHibernate session and use that. Example: the OrchardPo module does it.

Aug 27, 2012 at 7:19 AM

Wow. Thanks buddy. I will workout with nHibernate  solution. If you have any sample code base/ URL link please share to me. 

Thanks a lot for your help.

Aug 27, 2012 at 7:21 AM