1.2-alpha1
I am trying to use NHibernate as a presistance layer with CSLA.
I am trying to inheret the CSLA BussinessBase<> class to make the NHibernate class and mapping the public properties using the NHibernate attributes, But Unfortunately NHibernate uses proxies which need all of the class's properties and methods to be virtual but of course there are some non-virtual methods in BussinessBase.
I can overcome this problem but if i close the lazy-loading which i don't want to do i need lazy loading.
Is there is any way to overcome this problem,And if there is a way to close the reflection for inheretance tree in NHibernate so it uses only the concrete BO class.
Thanks
|