I have been looking all around for the correct mapping, with no success.
Got to the point i started finding people who gave up https://groups.google.com/forum/#!topic/fluent-nhibernate/u_MYdOTD1Jk So - how do you map an IDictionary<Entity1,Entity2> ? I would post what i tried, but i'm at my 15~th try now.. public class Entity1Map : ClassMap<Entity1>{ public Entity1Map() { Id(x=> x.ID); }} public class Entity2Map : ClassMap<Entity2>{ public Entity2Map() { Id(x=> x.ID); }} public class Entity3 { public IDictionary<Entity1,Entity2> Dict { get;set; } }public class Entity3Map : ClassMap<Entity3>{ public Entity3Map() { Id(x=> x.ID); //DictMap?? }} Thanks a lot :) -- 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 http://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/groups/opt_out.