Exemplo n.º 1
0
 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);
                 }
             }
         }
     }
 }
Exemplo n.º 2
0
 public RelationshipNode(Relationship RelationshipTree, RelationshipNode Parent)
     : base(RelationshipTree, Parent)
 {
 }