private void ResolveWeakEntities_MVD() { List <string> weak = new List <string>(); foreach (Tuple <string, string> tup in weakEntities) { Tuple <string, List <string> > find = relations.Find(obj => obj.Item1 == tup.Item1 || obj.Item1 == tup.Item2); if (find == null) { string n = tup.Item1; weak.Add(n); } } MVD_Resolution_Form mvd_form = new MVD_Resolution_Form(weak); mvd_form.ShowDialog(); multiValuedAttr = mvd_form.mvd; }
private void ResolveWeakEntities_MVD() { List<string> weak = new List<string>(); foreach(Tuple<string, string> tup in weakEntities) { Tuple<string, List<string>> find = relations.Find(obj => obj.Item1 == tup.Item1 || obj.Item1 == tup.Item2); if(find == null) { string n = tup.Item1; weak.Add(n); } } MVD_Resolution_Form mvd_form = new MVD_Resolution_Form(weak); mvd_form.ShowDialog(); multiValuedAttr = mvd_form.mvd; }