Is it possible to use NHibernate XML mapping files instead of Fluent NHibernate in S#arp Architecture framework?
+2
A:
Yes you can. Take a look at the Northwind sample app's NHibernate.config (the commented mapping
element and the related comments)
Mauricio Scheffer
2010-03-07 05:33:28
I had to comment out the following lines:new AutoPersistenceModelGenerator().Generate()in InitializeNHibernateSession() in file Global.asax.cs
Khalil Dahab
2010-03-07 11:52:52