Hi TD, NHibernateUtil.IsInitialized(entity.assosiation) returning the true answer but also initializing propertyl. You can try like this. bool isInitialized = NHibernateUtil.IsInitialized(entity.assosiation); //first time IsInitialized method is returning correct result. Ok. No problem.
isInitialized = NHibernateUtil.IsInitialized(entity.assosiation);// But if you will look again you will see IsInitialized method returnin "true". So i dont want initialize i just want to learn isinitialized. Isn't here any clear way to learn is associated propert load with out load anythink? 24 Mart 2010 Çarşamba 00:38:42 UTC+2 tarihinde TD yazdı: > > I would like to thank you all. > I found the solution. > Instead of using NHibernateUtil.IsPropertyInitialized(entity, > "assosiation") > I used NHibernateUtil.IsInitialized(entity.assosiation) > > To tell you the truth I have no idea what IsPropertyInitialized does > but it was confusing for me. > 10x > -- 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 nhusers+unsubscr...@googlegroups.com. To post to this group, send email to nhusers@googlegroups.com. Visit this group at https://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.