public void Remove(ManyToManyRelationshipMetadataInfo info)
 {
     list.Remove(info);
 }
 public void Add(ManyToManyRelationshipMetadataInfo info)
 {
     list.Add(info);
 }
 public void Remove(ManyToManyRelationshipMetadataInfo info)
 {
     list.Remove(info);
 }
        private void LoadManyToManyRelationships(IEnumerable<ManyToManyRelationshipMetadata> rels)
        {
            var items = new List<ListViewItem>();

            foreach (var rel in rels.ToList().OrderBy(a => a.Entity2LogicalName))
            {
                var rmd = new ManyToManyRelationshipMetadataInfo(rel);

                var item = new ListViewItem(rmd.SchemaName) { Tag = rmd };
                AddSecondarySubItems(typeof(ManyToManyRelationshipMetadataInfo), ListViewColumnsSettings.RelFirstColumns, lvcSettings.MtmRelSelectedAttributes, rmd, item);

                items.Add(item);
            }

            manyToManyListView.Items.Clear();
            manyToManyListView.Items.AddRange(items.ToArray());
        }
 public void Add(ManyToManyRelationshipMetadataInfo info)
 {
     list.Add(info);
 }