[fluent-nhib] Re: Self-Referential Mapping to Implement Hierarchical Tree Structure
Thanks Gabriel, the example you have uses two tables, not one (allowing a fancier tree than I need), but it convinced me that I was going in the right direction with my previous attempts. First I got this hbm working, easily enough: true
[fluent-nhib] Re: Self-Referential Mapping to Implement Hierarchical Tree Structure
please have a look at the following post (the Node hierarchy) http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/05/14/how-to-map-a-tree-in-nhibernate.aspx the corresponding mapping in FNH would be public class NodeMap : ClassMap { public NodeMap() { Id