public class CustomerMap : ClassMap<Customer>{public CustomerMap(){Id(x => x.CustomerId);Map(x => x.Birthday);Map(x => x.FirstName);
HasManyToMany(x => x.Parents).ParentKeyColumn("ChildID").ChildKeyColumn("ParentID").Inverse();HasManyToMany(x => x.Children).ParentKeyColumn("ParentID").ChildKeyColumn("ChildID");}}
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.