Exemplo n.º 1
0
        /// <summary>
        /// add Mother to the Data Source
        /// </summary>
        /// <param name="myMother"></param>
        public void AddMother(Mother myMother)
        {
            if (FindMother(myMother.Id) != null)
            {
                throw new Exception("Mother already exist");
            }

            myXML.AddMother(myMother);
        }