Ejemplo n.º 1
0
        public void RemoveSpouse(GDMIndividualRecord spouse)
        {
            if (spouse == null)
            {
                return;
            }

            spouse.DeleteSpouseToFamilyLink(this);

            switch (spouse.Sex)
            {
            case GDMSex.svMale:
                fHusband.Value = null;
                break;

            case GDMSex.svFemale:
                fWife.Value = null;
                break;
            }
        }