Hello, ReferencesAny<TOther>(...) does not say anything about the nature of TOther, per se, or the generic constraint is not mentioned.
I'm considering using that to model hosting a widget in potentially several different containers, as reflected by an interface IMyWidgetContainer, for instance. Where that is: interface IMyWidgetContainer { public virtual IList<Widget> Widgets { get; set; } } class Widget { public virtual IMyWidgetContainer Container { get; set; } } Then in the Widget map, something like this: ReferencesAny(x => x.Container) .AddMetaValue(typeof (Widget), typeof (Widget).FullName); .EntityTypeColumn(...) .EntityIdentifierColumnAndType(...) .Cascade.None(); Does this work, or does the Container need to be a concrete ("polymorphic") type? Thank you... Regards, Michael Powell -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at https://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/d/optout.