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