Example #1
0
 public static XElement ToXElement(StatPlaceArrond obj)
 {
     return(new XElement("rec",
                         new XElement("CustomerId", obj.CustomerId),
                         new XElement("NamePlaceArrond", obj.NamePlaceArrond),
                         new XElement("Qty", obj.Qty)));
 }
Example #2
0
 public static void SetXmlValues(XContainer element, StatPlaceArrond obj)
 {
     element.GetXElement("CustomerId").SetValue(obj.CustomerId);
     element.GetXElement("NamePlaceArrond").SetValue(obj.NamePlaceArrond);
     element.GetXElement("Qty").SetValue(obj.Qty);
 }