Hi,
Is there a way to do a bi-directional any mapping?

      ReferencesAny(c => c.SharedEntity)
        .EntityTypeColumn("ParentType")
        .EntityIdentifierColumn("ParentId")
        .IdentityType<int>()
        .MetaType<string>();

SharedEntity is a class (ie Contact, Company)
Normally, if i used References(), i should add HasMany(x=>
x.SharedEntity) to Contact/Company classes.
What shall i add to Contact/Company to get SharedEntities?

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to