Ejemplo n.º 1
0
 public static void SetXmlValues(XContainer element, CloseTicketG obj)
 {
     SetXmlValuesBase(element, obj);
     element.GetXElement("EstablishmentCustomerId").SetValue(obj.EstablishmentCustomerId);
     element.GetXElement("DateOpen").SetValue(obj.DateOpen);
     element.GetXElement("DateClose").SetValue(obj.DateClose);
 }
Ejemplo n.º 2
0
        public static XElement ToXElement(CloseTicketG obj)
        {
            var element = ToXElementBase(obj);

            element.Add(new XElement("EstablishmentCustomerId", obj.EstablishmentCustomerId));
            element.Add(new XElement("DateOpen", obj.DateOpen));
            element.Add(new XElement("DateClose", obj.DateClose));
            return(element);
        }