internal MiningStructureColumnCollectionInternal(AdomdConnection connection, MiningStructure parentStructure) : base(connection)
        {
            string name = parentStructure.Name;

            this.parentObject = parentStructure;
            this.InternalConstructor(connection, name);
        }
        internal MiningModelCollectionInternal(MiningStructure structure) : base(structure.ParentConnection)
        {
            ListDictionary listDictionary = new ListDictionary();

            listDictionary.Add(MiningModelCollectionInternal.structNameRest, structure.Name);
            this.parentObject = structure;
            ObjectMetadataCache objectCache = new ObjectMetadataCache(structure.ParentConnection, InternalObjectType.InternalTypeMiningModel, MiningModelCollectionInternal.schemaName, listDictionary);

            base.Initialize(objectCache);
        }
 public MiningStructure this[string index]
 {
     get
     {
         MiningStructure miningStructure = this.Find(index);
         if (null == miningStructure)
         {
             throw new ArgumentException(SR.Indexer_ObjectNotFound(index), "index");
         }
         return(miningStructure);
     }
 }
        private MiningStructure GetMiningStructureByRow(DataRow row)
        {
            MiningStructure miningStructure;

            if (row[0] is DBNull)
            {
                miningStructure = new MiningStructure(row, base.Connection, this.populatedTime, base.Catalog, base.SessionId);
                row[0]          = miningStructure;
            }
            else
            {
                miningStructure = (MiningStructure)row[0];
            }
            return(miningStructure);
        }
 internal MiningModel(DataRow miningModelRow, AdomdConnection connection, DateTime populationTime, string catalog, string sessionId, MiningStructure parentObject)
 {
     this.baseData       = new BaseObjectData(connection, true, null, miningModelRow, parentObject, null, catalog, sessionId);
     this.populationTime = populationTime;
 }
Example #6
0
 internal MiningStructureColumnCollection(AdomdConnection connection, MiningStructure parentStructure)
 {
     this.miningStructureColumnCollectionInternal = new MiningStructureColumnCollectionInternal(connection, parentStructure);
 }
 internal MiningModelCollection(MiningStructure structure)
 {
     this.miningModelCollectionInternal = new MiningModelCollectionInternal(structure);
 }