Exemplo n.º 1
0
        public void SaveToXmlTest()
        {
            Card newCard = new Card
            {
                ProjectId = 123,
                Name = "namename",
                Status = CardStatus.Archived,
                SynCode = 321
            };
            newCard.AddMail("qweasda","asdadsad");
            newCard.AddPhone("12adsada3","32asads1");

            var a = new XmlRepository<Card>(newCard, "XmlInput.xml", "XmlOutput.xml");
            a.SaveToXml();
        }