All,
I am new to NHibernate and have a few questions concerning the proxies used for lazy loading. I have searched through the forums, and this seems to be a light topic. What I would like to know first is, how much overhead is associated with the proxies used to do lazy loading? Secondly, I am curious if it is more efficient to create an interface for my classes that need lazy loading, or if just declaring the properties virtual produces the same out come (from an overhead perspective). I will not pretend to understand the dynamic proxy generator, but it seems like the interface option would eliminate the redundant in memory storage space. Any documentation on how this works would also be usefull.
Thanks,
Chris
|