On hindsight, I feel I should have put my question in more clear words. I understand the dynamic proxy part and lazy loading and why properties needs to be virtual for some NH features to work. My question was more around why public methods need to be marked as virtual?
Thanks Suhas On Wednesday, 17 December 2014 23:05:33 UTC, Suhas Chatekar wrote: > > I am trying to map my domain classes directly without having separate > DAOs. My domain classes have some methods on it for business logic. But > when I map the domain entity, NH complains that these methods should also > me marked as virtual. Is it not strange when NH should not be even looking > at those methods? > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
