Esempio n. 1
0
        internal MiningContentNodeCollectionInternal(AdomdConnection connection, MiningContentNode parentNode, MiningNodeTreeOpType operation) : base(connection)
        {
            this.parentNode        = parentNode;
            this.parentMiningModel = parentNode.ParentMiningModel;
            this.operation         = operation;
            ListDictionary listDictionary = new ListDictionary();

            listDictionary.Add(MiningContentNodeCollectionInternal.modelNameRest, this.parentMiningModel.Name);
            listDictionary.Add(MiningContentNodeCollectionInternal.nodeUniqueNameRest, parentNode.UniqueName);
            listDictionary.Add(MiningContentNodeCollectionInternal.treeOperationRest, (int)operation);
            ObjectMetadataCache objectCache = new ObjectMetadataCache(connection, InternalObjectType.InternalTypeMiningContentNode, MiningContentNodeCollectionInternal.schemaName, listDictionary, true);

            base.Initialize(objectCache);
        }
 internal MiningContentNodeCollection(AdomdConnection connection, MiningContentNode parentNode, MiningNodeTreeOpType operation)
 {
     this.miningContentNodeCollectionInternal = new MiningContentNodeCollectionInternal(connection, parentNode, operation);
 }