public PropertyDescriptorCollection GetProperties()
        {
            var pds = new PropertyDescriptorCollection(null);

            for (int i = 0; i < list.Count; i++)
            {
                var pd = new ManyToManyRelationshipCollectionPropertyDescriptor(this, i);
                pds.Add(pd);
            }
            return(pds);
        }
 public PropertyDescriptorCollection GetProperties()
 {
     var pds = new PropertyDescriptorCollection(null);
     for (int i = 0; i < list.Count; i++)
     {
         var pd = new ManyToManyRelationshipCollectionPropertyDescriptor(this, i);
         pds.Add(pd);
     }
     return pds;
 }