Пример #1
0
 public static CT_DataFields Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_DataFields ctObj = new CT_DataFields();
     if (node.Attributes["count"] != null)
         ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     ctObj.dataField = new List<CT_DataField>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "dataField")
             ctObj.dataField.Add(CT_DataField.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Пример #2
0
 public CT_DataFields AddNewDataFields()
 {
     this.dataFieldsField = new CT_DataFields();
     return this.dataFieldsField;
 }