public static CT_MeasureGroups Parse(XmlNode node, XmlNamespaceManager namespaceManager) { if (node == null) return null; CT_MeasureGroups ctObj = new CT_MeasureGroups(); if (node.Attributes["count"] != null) ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]); ctObj.measureGroup = new List<CT_MeasureGroup>(); foreach (XmlNode childNode in node.ChildNodes) { if (childNode.LocalName == "measureGroup") ctObj.measureGroup.Add(CT_MeasureGroup.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; }