I've set up a one-to-many association in NHibernate:
Parent (1 -> ∞) Child
The problem I now face is that when I set Child.Parent, the Parent.Children collection doesn't automatically contain the new Child. Similarly, when I add a Child to the Parent.Children collection, the Child.Parent property is still null. I could write some code in the property setters to achieve this, but is there a standard approach to this sort of thing?
Thanks