Пример #1
0
        public void Save()
        {
            using (CarrotCMSDataContext db = CarrotCMSDataContext.Create()) {
                string xml = this.GetXml();

                xml = xml.Replace("<?xml version=\"1.0\" encoding=\"utf-16\"?>", "");

                db.carrot_UpdateGoLiveLocal(this.SiteID, XElement.Parse(xml));
            }
        }