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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
