views:

52

answers:

1

I'm thinking of adopting a more Domain-Driven-Design approach to DotNetNuke module development and would like to consider using NHibernate as an OR/M layer.

Does anyone have experience using NHibernate with DotNetNuke? I've used SubSonic and EntitySpaces, but not NH.

UPDATE Sorry, I should have been more clear. Is NHibernate capable of running in Medium Trust and able to run in the context of the DotNetNuke "objectqualifier" ? The DNN object qualifier is essentially a prefix that can be applied to all database table names. So on my DNN install I might have a table named "Products", but on someone else's the same table might be named "dnn_Products" where the "dnn" is the "objectqualifier". So essentially NHibernate would need to read the objectqualifier from the web.config at runtime and apply it.

A: 

You can see this example:http://blogs.rawsoft.nl/remco/post/2009/02/13/DotNetNukeMVP-Model-View-Presenter-framework-for-DotNetNuke-%28part-1%29.aspx

The article is not for the same topic you are looking but it will give you good idea about it.

lakhlaniprashant.blogspot.com