public void Remove(OneToManyRelationshipMetadataInfo info)
 {
     list.Remove(info);
 }
 public void Add(OneToManyRelationshipMetadataInfo info)
 {
     list.Add(info);
 }
 public void Add(OneToManyRelationshipMetadataInfo info)
 {
     list.Add(info);
 }
        private void LoadOneToManyRelationships(IEnumerable<OneToManyRelationshipMetadata> rels)
        {
            var items = new List<ListViewItem>();

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

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

                items.Add(item);
            }

            OneToManyListView.Items.Clear();
            OneToManyListView.Items.AddRange(items.ToArray());
        }
 public void Remove(OneToManyRelationshipMetadataInfo info)
 {
     list.Remove(info);
 }