Пример #1
0
 public static CT_TupleCache Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_TupleCache ctObj = new CT_TupleCache();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "entries")
             ctObj.entries = CT_PCDSDTCEntries.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "sets")
             ctObj.sets = CT_Sets.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "queryCache")
             ctObj.queryCache = CT_QueryCache.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "serverFormats")
             ctObj.serverFormats = CT_ServerFormats.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "extLst")
             ctObj.extLst = CT_ExtensionList.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Пример #2
0
 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;
 }