public static CT_CalculatedItems Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_CalculatedItems ctObj = new CT_CalculatedItems();
     if (node.Attributes["count"] != null)
         ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     ctObj.calculatedItem = new List<CT_CalculatedItem>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "calculatedItem")
             ctObj.calculatedItem.Add(CT_CalculatedItem.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
 public CT_PivotCacheDefinition()
 {
     this.extLstField = new CT_ExtensionList();
     this.mapsField = new CT_MeasureDimensionMaps();
     this.measureGroupsField = new CT_MeasureGroups();
     this.dimensionsField = new CT_Dimensions();
     this.calculatedMembersField = new CT_CalculatedMembers();
     this.calculatedItemsField = new CT_CalculatedItems();
     this.tupleCacheField = new CT_TupleCache();
     this.kpisField = new CT_PCDKPIs();
     this.cacheHierarchiesField = new CT_CacheHierarchies();
     this.cacheFieldsField = new CT_CacheFields();
     this.cacheSourceField = new CT_CacheSource();
     this.invalidField = false;
     this.saveDataField = true;
     this.refreshOnLoadField = false;
     this.optimizeMemoryField = false;
     this.enableRefreshField = true;
     this.backgroundQueryField = false;
     this.createdVersionField = ((byte)(0));
     this.refreshedVersionField = ((byte)(0));
     this.minRefreshableVersionField = ((byte)(0));
     this.upgradeOnRefreshField = false;
     this.tupleCache1Field = false;
     this.supportSubqueryField = false;
     this.supportAdvancedDrillField = false;
 }