public bool RemoveChild(GDMIndividualRecord child) { if (child == null) { return(false); } DeleteChild(child); child.DeleteChildToFamilyLink(this); return(true); }
public override void Clear() { base.Clear(); RemoveSpouse(fHusband.Individual); RemoveSpouse(fWife.Individual); int num = fChildren.Count; for (int i = 0; i < num; i++) { GDMIndividualRecord child = fChildren[i].Individual; child.DeleteChildToFamilyLink(this); } fChildren.Clear(); fStatus = GDMMarriageStatus.Unknown; }