Working with another ORM

Topics: Writing modules
Mar 31, 2011 at 2:34 PM


I am developing a custom Orchard Module using another ORM XPO (eXtra Persistant Objects).  Basically, I have my persistant objects defined in another assembly and I am using those entities in the Controller of Orchard Module ( at this point I am just testing to see if orchard works with another ORM )

Even though I call my own DAL and database (which is different from the one Orchard is using) which is not dependent of NHibernate, Orchard is throwing errors regarding Transaction Scope and the error message is pointed to files in Orchard's core.

Can we use another ORM in Orchard or are we restricted to just NHibernate?

Mar 31, 2011 at 11:03 PM

You might want to watch this bug:

Apr 1, 2011 at 12:27 AM


Do you know if this bug is going to be fixed in the 1.1 version due to be released soon?

Apr 1, 2011 at 12:29 AM

Should be, yes.