public CT_CacheField()
 {
     this.extLstField = new CT_ExtensionList();
     this.mpMapField = new List<CT_X>();
     this.fieldGroupField = new CT_FieldGroup();
     this.sharedItemsField = new CT_SharedItems();
     this.serverFieldField = false;
     this.uniqueListField = true;
     this.sqlTypeField = 0;
     this.hierarchyField = 0;
     this.levelField = ((uint)(0));
     this.databaseFieldField = true;
     this.memberPropertyFieldField = false;
 }
 public CT_SharedItems AddNewSharedItems()
 {
     this.sharedItemsField = new CT_SharedItems();
     return this.sharedItemsField;
 }
 public static CT_SharedItems Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_SharedItems ctObj = new CT_SharedItems();
     if (node.Attributes["containsSemiMixedTypes"] != null)
         ctObj.containsSemiMixedTypes = XmlHelper.ReadBool(node.Attributes["containsSemiMixedTypes"]);
     if (node.Attributes["containsNonDate"] != null)
         ctObj.containsNonDate = XmlHelper.ReadBool(node.Attributes["containsNonDate"]);
     if (node.Attributes["containsDate"] != null)
         ctObj.containsDate = XmlHelper.ReadBool(node.Attributes["containsDate"]);
     if (node.Attributes["containsString"] != null)
         ctObj.containsString = XmlHelper.ReadBool(node.Attributes["containsString"]);
     if (node.Attributes["containsBlank"] != null)
         ctObj.containsBlank = XmlHelper.ReadBool(node.Attributes["containsBlank"]);
     if (node.Attributes["containsMixedTypes"] != null)
         ctObj.containsMixedTypes = XmlHelper.ReadBool(node.Attributes["containsMixedTypes"]);
     if (node.Attributes["containsNumber"] != null)
         ctObj.containsNumber = XmlHelper.ReadBool(node.Attributes["containsNumber"]);
     if (node.Attributes["containsInteger"] != null)
         ctObj.containsInteger = XmlHelper.ReadBool(node.Attributes["containsInteger"]);
     if (node.Attributes["minValue"] != null)
         ctObj.minValue = XmlHelper.ReadDouble(node.Attributes["minValue"]);
     if (node.Attributes["maxValue"] != null)
         ctObj.maxValue = XmlHelper.ReadDouble(node.Attributes["maxValue"]);
     if (node.Attributes["minDate"] != null)
         ctObj.minDate = XmlHelper.ReadDateTime(node.Attributes["minDate"]);
     if (node.Attributes["maxDate"] != null)
         ctObj.maxDate = XmlHelper.ReadDateTime(node.Attributes["maxDate"]);
     if (node.Attributes["count"] != null)
         ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     if (node.Attributes["longText"] != null)
         ctObj.longText = XmlHelper.ReadBool(node.Attributes["longText"]);
     ctObj.Items = new List<Object>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "n")
         {
             ctObj.Items.Add(CT_Number.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.n);
         }
         else if (childNode.LocalName == "b")
         {
             ctObj.Items.Add(CT_Boolean.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.b);
         }
         else if (childNode.LocalName == "d")
         {
             ctObj.Items.Add(CT_DateTime.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.d);
         }
         else if (childNode.LocalName == "e")
         {
             ctObj.Items.Add(CT_Error.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.e);
         }
         else if (childNode.LocalName == "m")
         {
             ctObj.Items.Add(CT_Missing.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.m);
         }
         else if (childNode.LocalName == "s")
         {
             ctObj.Items.Add(CT_String.Parse(childNode, namespaceManager));
             //ctObj.ItemsElementName.Add(ItemsChoiceType1.s);
         }
     }
     return ctObj;
 }