protected override void LoadChildren() { if (this.Binding != null) { if (this.Item != null) { foreach (Model.RelationshipType reltype in this.Item.RelationshipTypes) { foreach (Model.Relationship rel in this.Item.Relationships(reltype)) { RelationshipNode relnode = new RelationshipNode(this.RelationshipTree, this); relnode.Binding = rel; this.Children.Add(relnode); } } } } }
public RelationshipNode(Relationship RelationshipTree, RelationshipNode Parent) : base(RelationshipTree, Parent) { }