FNH doesn't infer that because it's not mandatory, it's perfectly valid to have a uni-directional relationship. So yes, you always have to specify a References if you want one.
On Tue, Jul 21, 2009 at 6:27 PM, Brian Kendig <[email protected]> wrote: > > Thank you for that! > > Do I always need to have a References() every place I have a HasMany > ()? Like, if a User HasMany UserMessages, I always need to say that > the UserMessages References the User class? Fluent NHibernate doesn't > infer this? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
