private Table Delete(Node Root) { int Impact = 0; From(Root.Children[0]); if (Root.Children.Count > 1) { Where(Root.Children[1]); } foreach (Table Ti in Tables) { foreach (int i in Filters[Ti.Name]) { Ti.RemoveRecord(i); } Impact = Math.Max(Impact, Filters[Ti.Name].Count); Ti.Records -= Filters[Ti.Name].Count; } Result = Impact.ToString() + " records affected"; AfterEffect[1] = true; AfterEffect[2] = true; return(null); }