I want to take a snapshot of an example of an entity and so I would like to load all proxies for this example I want to compel
I do not want to disable lazy loading for too long, I just wonder if there is an API, then I can force all the proxies to load.
Well, a utility function is NHibernateUtil.Initialize (object) If I am not corrected then I remember correctly With the help of NHibernateUtil.IsInitialized (object) you can make your own method which loads all proxies in ojester
Comments
Post a Comment