Beispiel #1
0
 protected override void LoadChildren()
 {
     if (_vertexType != null)
     {
         m_session.LoadFields(_vertexType);
         foreach (var vertex in _vertexType.GetVertices())
         {
             base.Children.Add(new VertexViewModel(vertex, this, m_session));
         }
         foreach (var pt in _vertexType.GetPropertyTypes())
         {
             base.Children.Add(new PropertyTypeViewModel(pt, this, m_session));
         }
     }
 }